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

Preventing accidental duplicate branching on 1.4.2

From: Eric Olson <Eric.Olson_at_adm.com>
Date: Tue, 5 May 2009 09:24:21 -0500

We're still using the svn 1.4 branch and I've noticed something that
doesn't seem right to me. As I understand it, the correct way to create
a branch is: svn copy [...]/trunk/ [...]/branches/foo/ -m "Creating foo
branch"

Which works exactly as I expected. If I turn around and immediately run
the same command, which I was expecting to fail because the foo branch
already exists, svn instead creates /branches/foo/trunk/. A third
execution of that same command throws an error because the directory
already exists.

 

Is that the expected behavior? I'm just worried about svn users
branching twice or accidentally reusing an old branch name.

 

-- 
Eric Olson
 
CONFIDENTIALITY NOTICE: 
	This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by email reply.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2069875
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-05 16:26:01 CEST

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.