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

[hook] how to differentiate copy or add

From: allan juul <lambretta_at_inet.uni2.dk>
Date: 2005-02-05 22:10:24 CET

hello

i need my pre-commit script to be able to act upon invalid (invalid in
respect to our tagging conventions)

via "svnlook changed $repos --transaction $tnx" the script can see if
something is added. but how does it find out whether this was happening
via a manually "svn add; svn ci" or a "svn copy FROM_URL TO_URL" ?

is there a handy way in a hook-script to get the actual command that
invoked the transaction to be committed ?

./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 5 22:12:44 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.