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

Re: svn move

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-11-06 03:15:36 CET

On Nov 6, 2005, at 02:46, William Ahern wrote:

> I'm maintining a vendor tree according to the suggestions in "Version
> Control with Subversion".
>
> I put the vendor tree in our "trunk". I want to move it elsewhere
> because it's becoming huge and unwieldly for people to download
> everytime they branch from the trunk. But, I'm afraid that if I
> move the
> vendor tree I may lose the ability to merge vendor version differences
> back into the project's version.

You're right, having vendor under trunk is unwieldy; it makes more
sense for it to be at the root of the repository, separate from all
your projects.

> Does an "svn merge" utilize the knowledge that a directory tree was
> originally a copy, or is it really a simple diff and it could be
> executed against any two trees? If the former, if I move a tree will
> this history be preserved?

svn merge simply takes the difference between two trees and applies
it to your working copy. It doesn't know anything more about those
trees, hence it's up to you to provide paths to svn merge that make
sense for what you want to do.

svn move always preserves history; there's no way for it not to. You
can just move your vendor tree to the root of the repository, and
everything will work fine.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 6 03:17:25 2005

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.