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

Feature Request: Identify new "copy" entries from pre-commit hook

From: Paul Dugas <paul_at_dugas.cc>
Date: 2005-09-19 20:49:42 CEST

Hi all,

I want to be able to identify new entries being added to a repository that
are copies, rather than just straight adds, from within a pre-commit hook.
 I posted a question to this list looking for help but only got "me too"
responses. I was about to enter it as a feature request in the issue
tracker. Figured I'd post one more time.

I'm trying to enforce some rules on the layout of my repository. I want
to make sure entries in /tags are copyies of /trunk. I want to make sure
entries in /branches are copies of entries in /tags. I want to prevent
users from using mkdir/add to create these new entries instead.

One suggestion was to compare the output of "svn log" with and without
--stop-on-copy but this only works after the transaction has been
completed. I want to do something similar but in the pre-commit hook. I
cannot find similar functionality in "svnlook -t#".

I'm open to other suggestions. If there are none, I'm looking for someone
on the development side to say I should submit this as an issue.

Thanks in advance,


Paul Dugas, Computer Engineer           Dugas Enterprises, LLC
paul@dugas.cc     phone: 404-932-1355   522 Black Canyon Park
http://dugas.cc     fax: 866-751-6494   Canton, GA 30114 USA
Onsite at GDOT W.Annex 404-463-2860 x199
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 19 20:51:33 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.