LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11:57 AM   #1
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 264

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, 04:27 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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 01:42 PM
How to revert back fdisk changes ? p_s_shah Linux - Server 1 04-10-2008 03:42 PM
Cannot revert back to optimal resolution DirkDiggler Linux - Desktop 4 06-03-2007 11:29 AM
Revert back permissions sharathkv25 Linux - General 4 05-21-2007 08:00 PM
Can I revert back to an older kernel? jspaceman Slackware 3 10-30-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:38 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
Open Source Consulting | Domain Registration