On Tue, Aug 5, 2008 at 9:11 PM, Glynn Clements <[EMAIL PROTECTED]> wrote: > > Markus Neteler wrote: > >> I have discovered that we overlooked >> lib/external/* >> to be taken out from reformatting. >> >> Is there an easy way to revert a set of files to their respective >> previous versions? >> svn revert only works with unsubmitted changes. >> Didn't find any other useful reference... > > find lib/external -type f -name '*.[ch]' | \ > while read file ; do > svn merge -c -32526 $file > done > > Here, 32526 is the revision corresponding to the indenting of the > trunk. Passing a negative revision to "svn merge -c" will "unmerge" > that change.
It didn't work like this: [EMAIL PROTECTED] grass70]$ find lib/external -type f -name '*.[ch]' | \ > while read file ; do > svn merge -c -32526 $file > done svn: REPORT request failed on '/grass/!svn/vcc/default' svn: Cannot replace a directory from within svn: REPORT request failed on '/grass/!svn/vcc/default' svn: Cannot replace a directory from within svn: REPORT request failed on '/grass/!svn/vcc/default' svn: Cannot replace a directory from within svn: REPORT request failed on '/grass/!svn/vcc/default' svn: Cannot replace a directory from within AFAIK because https://svn.osgeo.org/grass/grass/trunk is lacking. I tried some other ways to yet no avail. Markus _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev