Changes between Version 25 and Version 26 of HowToSVN


Ignore:
Timestamp:
Aug 6, 2008, 12:49:09 AM (16 years ago)
Author:
neteler
Comment:

Reverting submitted change

Legend:

Unmodified
Added
Removed
Modified
  • HowToSVN

    v25 v26  
    135135}}}
    136136
     137
     138=== Reverting submitted changes ===
     139
     140While 'svn revert' is used to revert local, unsubmitted changes, the procedure differs for code already in the SVN repository. Example:
     141{{{
     142find lib/external -type f -name '*.[ch]' | \
     143while read file ; do
     144      svn merge -c -32526 $file
     145done
     146svn ci -m"Reverted to previous version (r32526)... reason ..." lib/external
     147}}}
     148Here, 32526 is the revision corresponding to the indenting of the trunk. Passing a negative revision to "svn merge -c" will "unmerge" that change.
     149
    137150=== File properties ===
    138151