Mercurial > hg-stable
changeset 4623:66ed92ed115a
Make fast-forward merges full merges
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 18 Jun 2007 12:38:54 -0700 |
parents | d9d177ef748a |
children | 23d9f0e66711 |
files | mercurial/merge.py tests/test-newbranch.out |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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