rsync helps exporting Subversion’s working copies

This one-liner helps you to keep a mirror of a working copy of a Subversion repository without its .svn directories. It may speed up the test-modify-commit cycle: it acts like an export but it should be faster.

The command is:


rsync -apogz --delete --exclude=".svn/" /working_copy/path/ /testing/point/
rsync -Dgloprtz --delete --exclude=".svn/" /working_copy/path/ /testing/point/

Of course the whole thing works if your project doesn’t have “.svn/” directories.

Last update: 2008-08-18

One Trackback

  1. [...] previously described here a slightly different problem. The Exporting changed only files with Subversion by Carlo Perassi, [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*