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

pre commit trigger

From: Irfan Sayed <irfu.sayed_at_gmail.com>
Date: Mon, 11 May 2009 17:43:29 +0530

Hi All,

I am writting pre commit trigger which will restrict users from adding
file/dir names if they contain any white spaces.
i red the pre-commit.tmpl file and it gives two arguments to pass to the
script
i have written one simple perl script which will take two arguments passed
by pre-commit and ;check whether the path which is getting added in svn has
space or not if it is then it will exit with sttaus 1

two argumenst are REPOS and TXN . my assumption is that TXN is nothing but
the path which is getting added
REPOS is nothing but name of the repositotry
is this correct??

but with this assumption the script is not working

pease advice

Regards
Irf.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2189132

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-11 14:14:26 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.