[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: use-commit-times = effectless?

From: Jan Hendrik Niemeyer <jhniemeyer_at_marine-niemeyer.com>
Date: 2003-12-13 12:32:31 CET

Concerning Re: use-commit-times = effectless?
Dominic Anello wrote on 12 Dec 2003, 16:01, at least in part:

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 was just copying
Carsten's command into the post-commit template to have it
available for later application when your mail came in. It will also
solve the backup problem I still had. This was not very pressuring
here as we are less interested in history but concurrent working
and the content of the working copies is backed up anyway
(without .svn folders), so it would always be possible to build a new
repos in the worst case. However, getting incremental dumps into
backups was something on my todo list.

I think for those of us not (too) familiar with *nix and its shell scripts
your batch offers a great starting point for Windows users quite
comparable to the *nix templates. I would suggest to include it
either as a [Windows] section in current templates or as separate
template for Windows hook files (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 a post-commit with the line start [/MIN /B /LOW
etc.] wrapper.bat where wrapper.bat has the svnadmin commands
without "start", but the errorlevel stuff. However, as your script
writes a log file it might not be that necessary at all. I think I try
this nevertheless when I get my big HDD back so I can do the
trial&error locally.

Have a fine weekend!

Jan Hendrik

---------------------------------------
Freedom quote:

     The power which a multiple millionaire,
     who may be my neighbor and perhaps my employer has over me
     is far less than that which the smallest functionary
     who wields the coercive power of the state,
     and on whose discretion it depends
     whether and how I am allowed to live or to work.
                -- F. A. Hayek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 14 07:15:09 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.