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

Merging with sparse checkouts

From: Kari Granö <kari.grano_at_gmail.com>
Date: Tue, 17 Mar 2009 23:25:40 +0200

Hi,

Recently I've bumped into a strange problem with sparse checkouts and merge
tracking. When TSVN branched for 1.6.x, I needed a working copy for the
branch. Since I'm only doing 1.6.x translations, I decided to do a sparse
checkout for the 1.6.x tree:

1.6.x (immediate children + folders)
 |
 +-- doc (fully recursive)
 |
 +-- Languages (fully recursive)

This works nicely with respect to updates and has small footprint. Good.

However, I'm having problems when merging stuff from /trunk to my sparse
1.6.x working copy. Normally I like to do merging from working copy root.
However, in the sparse setup this does not seem to work:

If I merge r15744-15745 from
http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk to my (sparse) working
copy of of
http://tortoisesvn.tigris.org/svn/tortoisesvn/branches/1.6.x@15743 using
depth="working copy", I get

(1) No text changes at all
(2) Mergeinfo of /trunk gets added to all sparse subtrees of my WC

Now, I think (2) is to be expected, although I must say that it looks like
the sparse checkout and merge tracking features are fundamentally
incompatible. However, (1) does not make sense to me - it looks like as if
the merge is not descending the the fully recursive "doc" subtree. Is this a
bug?

On the other hand (and this is what I'm doing), performing the merge on the
fully recursive subtree works fine. That is, if I merge r15744-15745 from
http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/doc to my working copy
of of
http://tortoisesvn.tigris.org/svn/tortoisesvn/branches/1.6.x/doc@15743, I
get

1. All text changes merged
2. Subtree mergeinfo for 15744-15745 for both "doc" and "doc/po"

It seems that many translators are doing something similar, since the
mergeinfo appears to pile up on the "doc" subtree.

Comments? Maybe I'm overlooking something obvious in the problem case (1)
above?

Regards,
Kari

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1343469

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-18 07:11:59 CET

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

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