# HG changeset patch # User Mads Kiilerich # Date 1358208312 -3600 # Node ID aadefcee1f5eb4e617a7909cec50e00353cd6b5c # Parent 384df4db652099c6ce5ccddd3a8551d68bcf920e merge: remove "case" comments The comments introduced in f05c182430a0 seems important ... but the context has apparently been lost and they do not have any value now. diff -r 384df4db6520 -r aadefcee1f5e mercurial/merge.py --- a/mercurial/merge.py Wed Jan 09 02:02:45 2013 +0100 +++ b/mercurial/merge.py Tue Jan 15 01:05:12 2013 +0100 @@ -257,7 +257,7 @@ f2 = movewithdir[f] act("remote renamed directory to " + f2, "d", f, None, f2, m1.flags(f)) - elif f in copy: # case 2 A,B/B/B or case 4,21 A/B/B + elif f in copy: f2 = copy[f] act("local copied/moved to " + f2, "m", f, f2, f, False) elif f in ma: # clean, a different, no remote @@ -285,10 +285,10 @@ m2.flags(f)) elif f in copy: f2 = copy[f] - if f2 in m2: # rename case 1, A/A,B/A + if f2 in m2: act("remote copied to " + f, "m", f2, f, f, False) - else: # case 3,20 A/B/A + else: act("remote moved to " + f, "m", f2, f, f, True) elif f not in ma: