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

Re: SV: Request Tag-PreCommit-Script/hook for use at the OS: Windows Server 2003

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-10-12 10:20:45 CEST

On Wed, 12 Oct 2005 10:03:52 +0200, René Vestergaard
<rve@techno-matic.dk> wrote:

>Now I get this error:
>---------------------
>"Commit failed,
> pre-commit hook failed,
> svnlook: missing argument: t"
>
>I wrote the following in the pre-commit.cmd file on the server:
>---------------------------------------------------------------
>c:\subversion\svnlook dirs-changed -t %TRANS% %REPOS% | find "/tags/"
>if errorlevel 1 exit 1
>exit 0

I've no idea if the idea will work, but the syntax you need is

c:\subversion\svnlook dirs-changed -t %1 %2 | find "/tags/"

HTH,

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 12 10:23:56 2005

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.