On Tue, Apr 22, 2008 at 12:30 AM, paptimusx <paptimusx_at_gmail.com> wrote:
> Hello, there.
> 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
> ?? svnnotify --repos-path PATH -r 9609-1 ...
> => svnnotify --repos-path PATH -r 9609 ...
> How should I do?
> Thanks in advance.
> % ver
> Microsoft Windows XP [Version 5.1.2600]
> % svnnotify -v
> svnnotify 2.64
> % svn --version
> svn, version 1.4.6 (r28521)
> compiled Dec 20 2007, 16:33:06
Note that pre-commit is called before the commit actually happens. That is
the reason why you have the "-1" against the 'potential' revision number.
This is called the transaction number. A revision number can be obtained
only after the commit it complete.
I think svnnotify is a tool to notify others of commit activity within svn.
In which case you should use svnnotify within a post-commit (that is what
the docs of svnnotify asks you as well).
Received on 2008-04-22 18:48:01 CEST