Exporting a single file?
From: Rydinare <rydinare_at_yahoo.com>
Date: 2004-12-16 00:06:07 CET
Hi guys. I'm having another issue with subversion. In my post-commit script, I'm trying to keep an up to date shadow (aka: mirror) of all files in my repository. So, I was able to query the repository using $REPO and $REV from the script with the svnlook command. Here's my next problem, though... the idea was based on being able to duplicate the transactions that subversion did in my mirror. I had completed the code, ran it and came up with one tiny problem... Subversion doesn't support exporting a single file! Reading through some posts, it showed that a workaround could be achived by using 'svn cat' and redirecting to a file. However, this leads to a few other issues. I'll address them below.
Thanks in advance.
This is an archived mail posted to the Subversion Users mailing list.