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

[merge tracking] Recording merge info when part of the merge is skipped

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-09-15 20:58:39 CEST

As a follow-up to r21504, I fixed merge_tests.py 7 and 8 in r21511
(basically by reverting earlier r20438, which made the tests incorrect
now that the code is closer to being correct).

Test 17 seems to be a little more tricky, as part of its merge
succeeds, and part of it is skipped.

Under dir "C", we create unversioned file "foo". Then we merge a tree
("F") which contains versioned file "foo" and some other stuff into
"C":

WC:

---
C/
  foo
Merge source:
-------------
F/
  foo
  Q/
    bar
"foo" is skipped (because it's obstructed), while "Q" and "Q/bar" are
merged successfully.  Where in the WC should the merge info be
recorded?
My feeling is that merge info should apply to "Q" (and thus implicity
to "bar", by inheritance).  It should not apply to "foo" (because it
was not merged).  However, what about "C", which had partial merge of
r2 succeed?  Because part of the merge was skipped, I tend to think
that it should not have merge info recorded on it.
Thoughts?

  • application/pgp-signature attachment: stored
Received on Fri Sep 15 20:59:59 2006

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.