SVN pre-commit hooks with perl tests

Paul Makepeace london.pm.org at paulm.com
Wed Jan 11 18:30:47 GMT 2006


Looking into implementing pre-commit hook tests in SVN to prevent
check-ins when a subset of tests fail. One problem that's come up is
that sometimes it's useful to know the working directory, e.g. to load
files. SVN's pre-commit template says the working dir is undefined.

Has a) anyone done this (didn't find any examples online) b) know how
to get the user's CWD?

P

-- 
Paul Makepeace .............................. http://paulm.com/inchoate/

"What is bait? The contents of my bowels."
   -- http://paulm.com/toys/surrealism/


More information about the london.pm mailing list