LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-20-2010, 12:57 PM   #1
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 262

Rep: Reputation: 23
svn revert back


Dear friends,
I update my work via svn, and found there is problem. so I update a older revision (6th).
Now, while I am trying to make any update, its showing difference between 7th update(the wrong one) and updating is including the wrong update that i reverted earlier.
is there a way to update the change i have made to the corrected version and escape the wrong one?
 
Old 10-21-2010, 05:27 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Once you have checked it in and committed the changes to SVN, there is no way to permanently erase them. You could checkout an earlier (correct) revision and then re-commit the changes, which will make the head revision correct. You tag the incorrect one with a do-not-use flag if you think others may try to access it.

SVN works with a hidden local copy as its reference for use while you are off line. Reverting doesn't revert the repository. It only reverts your local copy, undoing the changes you have made since the checkout.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN revert jdwilder General 3 07-15-2008 02:42 PM
How to revert back fdisk changes ? p_s_shah Linux - Server 1 04-10-2008 04:42 PM
Cannot revert back to optimal resolution DirkDiggler Linux - Desktop 4 06-03-2007 12:29 PM
Revert back permissions sharathkv25 Linux - General 4 05-21-2007 09:00 PM
Can I revert back to an older kernel? jspaceman Slackware 3 10-30-2004 05:07 PM


All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration