diff -r e3ee7ec85a15 -r a6cf48b2880d mercurial/commands.py --- a/mercurial/commands.py Mon Feb 03 21:34:13 2014 +0100 +++ b/mercurial/commands.py Tue Jan 21 11:39:26 2014 -0800 @@ -2558,7 +2558,7 @@ if newtree != tree: ui.note(revset.prettyformat(newtree), "\n") func = revset.match(ui, expr) - for c in func(repo, range(len(repo))): + for c in func(repo, revset.baseset(range(len(repo)))): ui.write("%s\n" % c) @command('debugsetparents', [], _('REV1 [REV2]'))