Subversion

Subversion Client

Reverting Repo

# This will revert the repo to revision 400.
 
$ cd calc/trunk
$ svn update
At revision 405.
 
$ svn merge -r HEAD:400 http://svn.example.com/repos/calc/branches/my-calc-branch
U   integer.c
U   button.c
U   Makefile
 
$ svn status
M   integer.c
M   button.c
M   Makefile
 
# ...examine the diffs, compile, test, etc...
 
$ svn commit -m "Reverted changes r405:400 for my-calc-branch."
Sending        integer.c
Sending        button.c
Sending        Makefile
Transmitting file data ...
Committed revision 406.
Print/export
QR Code
QR Code sysadmin:subversion (generated for current page)