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

when to use svn copy

From: JamieEchlin <jamie.echlin_at_credit-suisse.com>
Date: Tue, 25 Jan 2011 01:32:30 -0800 (PST)

What are the acceptable cases for using svn cp? Superficially, it can be used
for creating branches or tags, and indirectly as part of a move/rename
operation, and restoring a deleted file/dir, but are they any other
justified usages?

What we see a lot of, and are considering blocking going forward, is people
svn cp'ing files between branches. For instance, you are on trunk, and want
a file that has been added in branch 1.1... instead of merging you just svn
cp the file or subdir you are want. This is a kind of targeted cherry
picking, but without mergeinfo. Of course, you get a tree conflict when you
come to merge correctly.

So my question is, is the above an acceptable usage? Presumably this seems
much easier to users than doing a merge.

cheers, jamie

-- 
View this message in context: http://old.nabble.com/when-to-use-svn-copy-tp30748502p30748502.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2011-01-25 10:33:07 CET

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.