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

Re: pre-commit hooks extra argument

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 22 Apr 2008 03:11:27 -0500

On Apr 22, 2008, at 2:30 AM, paptimusx wrote:

> There is a doubt in the argument that 'pre-commit.bat' receives.
>
> #1 -> "c:/var/svn/svnrepo"
> #2 -> "9609-1"
>
> I think '-1' of the second argument is extra. It makes svn-notify
> malfunctions.
>
> ?? svnnotify --repos-path PATH -r 9609-1 ...
> => svnnotify --repos-path PATH -r 9609 ...
>
> How should I do?

"9609-1" is not a revision number (using the -r parameter), it is a
transaction number (you use the -t parameter). At least, you would
with svnadmin. Not sure if svnnotify supports the -t parameter. If in
doubt, consult the svnnotify documentation or contact the authors of
svnnotify.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-22 10:12:02 CEST

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.