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

Merges into sparse working copies and tree conflicts

From: <webpost_at_tigris.org>
Date: Thu, 23 Apr 2009 14:15:50 -0700 (PDT)

I am having some problems with merges and am not sure if this is a bug or not. Server is 1.6.1, client is 1.6.1:

Repository looks like this:
  - project1
  - project2
  ... etc ...
  ... etc ...

Now, let's say I only care about projects 3 and 5. So I:

svn co svn+ssh://server/repo/trunk --depth empty
svn up trunk/project3
svn up trunk/project5

Now, I want to create a private branch. So I:
cd trunk
svn cp -m "Create branch" ^/trunk ^/branches/myBranch
svn switch ^/branches/myBranch

Now, after some time, I want to merge from trunk, so I:
svn merge --depth=infinity ^/trunk

However, now I see a bunch of tree conflicts on some of the other projects that were not part of my checkout - and the merge takes _forever_.

Is this normal? I would expect the merge to ignore the folders I have not checked out. And why is this taking so long (taking 100% CPU on the server)? The repository I am using is quite large - but the sections I actually checked out are not.

Note that I actually DO want a sparse checkout of trunk, as I want to be able to create a branch and commit to my projects atomically.

SVN Merger.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-23 23:27:31 CEST

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