Little googling got me the answer. Here is the scenario which might save your @$$ .
My Best friend today was svn merge.
svn merge is also used to roll back a change that has already been committed.
Suppose you're working away happily on a working copy of /calc/trunk, and you discover that the change made has been checked-in to trunk by accident as 939 but you want the roll back to original.
Use the below command
$ svn merge -r 926:939 http://svn.example.com/repos/calc/trunk
Here merge will get 926 version into your checkout code then all you need to do is Check-In the latest version into Trunk.
$ svn merge -r 926:939 http://svn.example.com/repos/calc/trunk
Here merge will get 926 version into your checkout code then all you need to do is Check-In the latest version into Trunk.
Comments
Post a Comment