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

Re: svn copy usage question

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-01 18:07:11 CEST

On Sat, 2004-07-31 at 23:59, Timothy Reaves wrote:
> I'm attempting to use the svn copy command, and I use the format
> directly from the book on svn:
> svn copy trunk branches/my-calc-branch
> This does not do as the book states and copy the content of the trunk
> folder into the my-calc-branch folder. Instead, it copies the trunk
> folder into the destination.

A friend of mine had exactly the same misunderstanding, so perhaps the
book needs to be reworded on this point.

If you want to overlay the contents of branches/my-calc-branch with the
contents of trunk, that's not a single copy operation from Subversion's
point of view; that's a separate copy operation for each entry in
trunk. (And in current Subversion, that means either performing the
copy operation with a working copy, or doing it in multiple commits.)

You may want to review your processes and start using "svn merge"
instead of copies. Up to you, of course.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 1 18:07:47 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.