Mercurial > hg
changeset 15618:0aca2695a110
merge: remove excess creation of changectx
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 07 Dec 2011 11:22:57 -0600 |
parents | 74e691b141c4 |
children | 6c8573dd1b6b |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)