# HG changeset patch # User Matt Mackall # Date 1161143941 18000 # Node ID 798bcde0c9c272b83b297cbb183afb3fba43aca2 # Parent ef2e990f9047d1fe91bc4c5a778daeecc17663f4 merge: fix branch setting (and remove debugging message) diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -412,8 +412,7 @@ def update(repo, node, branchmerge, forc repo.dirstate.setparents(fp1, fp2) repo.hook('update', parent1=xp1, parent2=xp2, error=stats[3]) if not branchmerge: - print "yow!" - repo.opener("branch", "w").write(p1.branch() + "\n") + repo.opener("branch", "w").write(p2.branch() + "\n") return stats