Since the system seems to have gobbled up my original reply
yesterday I train my fingers once more ...
Hi Dominic!
> I can vouch for the start syntax working. I've been using it for a
> couple of weeks to do both incremental dumps and deltification for our
> repository. The dumps are definitely getting created just fine, and I
> haven't noticed excessive database growth, so I assume deltification
> is working.
Thanks a lot for sharing your elaborate batch file! I just copied
Carsten's line into the post-commit template to have it readily
available when your mail came in. With the incremental dump it
should also help me in getting a backup of the repos. Since we are
less interested in history but just concurrent working and working
copies are backed up anyway this was not a very pressuring issue,
but something on my todo list. Restoring a repos from a backup
will be much easier than creating a new one from all the working
copies!
I think your script is a very good starting point for all of us being not
(too) familiar with *nix shell scripts to get into the hooks thing
under Windows. I would suggest to include it in the hooks
templates, either as [Windows] section or as a separate template
(e.g. post-commit.bat.tmpl).
> The start command always seems to return a zero error
> code, so you can't really check the result of the svnadmin call within
> the post-commit script. I suppose you couold write a wrapper batch
> file that post-commit calls that will log the error code somewhere.
That should be "start [/B /MIN /LOW etc.] wrapper.bat in post-
commit.bat where wrapper.bat has the respective svnadmin
commands w/o "start", but the errorlevel stuff. As you log things
this might not be necessary however.
Have a fine Sunday!
Jan Hendrik
---------------------------------------
Freedom quote:
The only justifiable purpose of political institutions
is to assure the unhindered development of the individual.
-- Albert Einstein
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 14 20:17:43 2003