Changes between Version 26 and Version 27 of HowToSVN
- Timestamp:
- 08/06/08 14:27:08 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToSVN
v26 v27 140 140 While 'svn revert' is used to revert local, unsubmitted changes, the procedure differs for code already in the SVN repository. Example: 141 141 {{{ 142 find lib/external -type f -name '*.[ch]' | \ 143 while read file ; do 144 svn merge -c -32526 $file 145 done 146 svn ci -m"Reverted to previous version (r32526)... reason ..." lib/external 142 cd lib/external 143 # note the negative revision number: 144 svn merge -c -32526 file(s) 145 svn ci -m"Reverted to previous version (r32526)... reason ..." file(s) 147 146 }}} 148 147 Here, 32526 is the revision corresponding to the indenting of the trunk. Passing a negative revision to "svn merge -c" will "unmerge" that change.