diff -r 73860ffbe798 -r b1eeaeb936ae mercurial/merge.py --- a/mercurial/merge.py Sun Dec 03 16:16:33 2006 -0600 +++ b/mercurial/merge.py Sun Dec 03 16:16:33 2006 -0600 @@ -477,6 +477,7 @@ repo.dirstate.setparents(fp1, fp2) repo.hook('update', parent1=xp1, parent2=xp2, error=stats[3]) if not branchmerge: + b = util.tolocal(p2.branch()) repo.opener("branch", "w").write(p2.branch() + "\n") return stats