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

How does svn copy work?

From: Reagan Penner <Reagan_Penner_at_pmc-sierra.com>
Date: 2006-09-19 19:10:20 CEST

Hello,

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

Reagan Penner
Software & Solutions Group
PMC-Sierra, Inc.
The Concourse Building #227 - 116 Research Drive
Saskatoon, Sk. Canada S7N3R3
Tel +1-306-651-4910
Fax + 1-306-651-4749
Received on Tue Sep 19 19:11:15 2006

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.