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

Re: svn copy and pre-commit

From: <kfogel_at_collab.net>
Date: 2005-01-05 17:58:15 CET

allan juul <lambretta@inet.uni2.dk> writes:
> hi
> we have a situation when tagging we might create arbitrary directory paths
> i understand the svn copy will only create a dir in a repository [not
> the full path].
> so my thought was to create a pre-commit hook that could ensure the
> creation of the full path before the actual 'svn copy' took place.
> 1) is this possible to do ?
> 2) is it possible in a hook via svnlook (or other) to get the actual
> svn command that invoked the hook ?

Your problem will be solved when


is solved. In the meantime, you're better off writing a client-side
script to make intermediate directories, rather than doing it in
pre-commit. It's best for pre-commit to only do read-only things, not
make changes to the repository.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 5 18:06:58 2005

This is an archived mail posted to the Subversion Users mailing list.