How does svn copy work?
From: Reagan Penner <Reagan_Penner_at_pmc-sierra.com>
Date: 2006-09-19 19:10:20 CEST
I have a few questions about svn copy in particular I am concerned about created tags underneath a tags/ directory.
I have implemented a hook that will not allow you to perform any "U" type modifications on any paths that contain */tags/*. This prevents users from checking into an existing tags directory.
However, I have noticed that if you issue the same svn copy command over and over it will succeed and bump the revision number. So I am curious as to how svn copy behaves? Is there a way that I can limit svn copy to only directories under /tags/ that do not already exist we don't want people to be able to copy over top of an already existing tag!
Thanks - reagan
This is an archived mail posted to the Subversion Users mailing list.