Mercurial > hg-stable
diff mercurial/commands.py @ 15618:0aca2695a110
merge: remove excess creation of changectx
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 07 Dec 2011 11:22:57 -0600 |
parents | 260a6449d83a |
children | 6c8573dd1b6b |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Dec 07 12:56:44 2011 +0100 +++ b/mercurial/commands.py Wed Dec 07 11:22:57 2011 -0600 @@ -4043,7 +4043,7 @@ % branch, hint=_("run 'hg heads' to see all heads")) msg = _('there is nothing to merge') - if parent != repo.lookup(repo[None].branch()): + if parent != repo.lookup(branch): msg = _('%s - use "hg update" instead') % msg raise util.Abort(msg)