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

Re: Merge strategies?

From: Andrey Paramonov <paramon_at_acdlabs.ru>
Date: Wed, 19 Oct 2011 10:38:22 +0400

On 18.10.2011 20:05, Daniel Shahaf wrote:
> Andrey Paramonov wrote on Tue, Oct 18, 2011 at 11:40:37 +0400:
>> What confuses people most now is the scattered
>> svn:mergeinfo ("Oh, why that dir has modified status, my merge
>> shouldn't have changed it!").
>
> Isn't this particular issue fixed in 1.7?

No, it's apparently not. What was fixed is svn:mergeinfo physical
storage format and location in working copy. On the contrary, the
inheritance/elision rules were not (cannot be?) changed. Basically,
everything said in
http://www.collab.net/community/subversion/articles/merge-info.html
about "pesky implementation details" remains valid.

Consider the following example. Users typically merge to
/release/1.0.1/. Merge info is recorded to svn:mergeinfo of
/release/1.0.1/. Now consider someone merges once to
/release/1.0.1/some/subdir/. Possible reasons:
1) Her changes belong only to some/subdir/.
2) She has checkout of just /release/1.0.1/some/subdir/, not the whole
/release/1.0.1/.
3) She doesn't have access to /release/1.0.1/ at all, only to
/release/1.0.1/some/subdir/.

Ok, now another user merges to /release/1.0.1/. Suppose his changes only
belong to another/dir. But he would see that /release/1.0.1/some/subdir/
has modified flag! This is very confusing and hard to explain (I have
tried).

Any pointers on how to minimize this distraction greatly appreciated.

Best wishes,
Andrey Paramonov
Received on 2011-10-19 08:39:12 CEST

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.