LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   svn revert back (https://www.linuxquestions.org/questions/linux-server-73/svn-revert-back-839326/)

RudraB 10-20-2010 11:57 AM

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?

Noway2 10-21-2010 04:27 AM

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.


All times are GMT -5. The time now is 04:23 AM.