diff -r b27c3beaaf30 -r 269688a398c4 mercurial/commands.py --- a/mercurial/commands.py Fri Aug 15 16:20:47 2014 +0200 +++ b/mercurial/commands.py Fri Aug 15 04:37:46 2014 +0200 @@ -5593,7 +5593,7 @@ ui.write(_('commit: %s\n') % t.strip()) # all ancestors of branch heads - all ancestors of parent = new csets - new = len(repo.changelog.findmissing([ctx.node() for ctx in parents], + new = len(repo.changelog.findmissing([pctx.node() for pctx in parents], bheads)) if new == 0: