Make fast-forward merges full merges
authorBrendan Cully <brendan@kublai.com>
Mon, 18 Jun 2007 12:38:54 -0700
changeset 4623 66ed92ed115a
parent 4602 d9d177ef748a
child 4624 23d9f0e66711
Make fast-forward merges full merges
mercurial/merge.py
tests/test-newbranch.out
--- a/mercurial/merge.py	Mon Jun 18 11:13:16 2007 -0700
+++ b/mercurial/merge.py	Mon Jun 18 12:38:54 2007 -0700
@@ -504,7 +504,6 @@
         if branchmerge:
             if p1.branch() != p2.branch():
                 fastforward = True
-                branchmerge = False
             else:
                 raise util.Abort(_("there is nothing to merge, just use "
                                    "'hg update' or look at 'hg heads'"))
--- a/tests/test-newbranch.out	Mon Jun 18 11:13:16 2007 -0700
+++ b/tests/test-newbranch.out	Mon Jun 18 12:38:54 2007 -0700
@@ -95,9 +95,11 @@
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 (branch merge, don't forget to commit)
 foo
-changeset:   6:9cc105113eeb
+changeset:   6:f0c74f92a385
 branch:      foo
 tag:         tip
+parent:      4:4909a3732169
+parent:      5:c420d2121b71
 user:        test
 date:        Mon Jan 12 13:46:40 1970 +0000
 summary:     Merge ff into foo