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

Commit hooks malfunctioning...

From: Dassi, Nasser <NDassi_at_141xm.com>
Date: 2005-01-21 02:57:57 CET

Howdy,

So I tried a simple 1-liner "post-commit" hook, and it works (an "svn
update"-type command).

When I create a multi-step start-commit, pre-commit, or post-commit
hook, the process does not execute all steps. The steps are as follows:

1. svn status > random.txt (Works)
2. cscript blah.vbs (Runs -> creates a file, random1.txt)
3. svn add --targets random1.txt (Fails)
4. del random.txt (Works)
5. del random1.txt (Works)

Please note, if I run the script manually
("c:\repos\proj1\hooks\pre-commit.bat") then step 3 "svn add" functions
properly. However, if I "svn ci..." (from within WC) then the "svn add"
does *not* execute.

Please help!!! :o)

- nasser

Nasser Dassi
Sr. Technical Programmer
=========================================
E: ndassi@141xm.com
=========================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 21 03:01:12 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.