Dobrica Pavlinušić's random unstructured stuff
Subversion tools: Revision 4
In an effort to continue my hack-of-the-week series, here is a quick overview of few subversion hacks I have worked on lately:

* "`svn-ignore.sh`"<http://svn.rot13.org/index.cgi/scripts/view/trunk/svn-ignore.sh> is a tiny shell script which will bring all unversioned files in current svn or svk repository in your $EDITOR and add result of your edit to `svn:ignore`
* "`svndump-move.pl`"<http://svn.rot13.org/index.cgi/scripts/view/trunk/svndump-move.pl> is more complex perl script which will allow you to reorganize directory layout in your repository while preserving revision history -- it solved problems like: _oh, if I only had root of my repository is subdirectory foo..._
* "`svn2cvs`"<http://svn.rot13.org/index.cgi/svn2cvs/browse/trunk> is a bit older tool which received attention when Bartek Teodorczyk very patiently started to report problems with it. As a result, it now has test suite, and it's much more robust

Most of documentation for those tools is hidden in subversion commit messages. If you think they are useful, take a peek there...

^ Moving one directory to another checkout

From repository `strix` dump `/strix4/utils/masscat` and load it into repository `strix-tools` under `/strix-tools/masscat`

.pre
svnadmin dump strix | \
svndumpfilter --drop-empty-revs --renumber-revs include /strix4/utils/masscat/ | \
sed 's!Node-path: strix4/utils/masscat!Node-path: masscat!' | \
svnadmin load strix-tools/
.pre