diff -r c5022f3579b9 -r 7d87f672d069 mercurial/commands.py --- a/mercurial/commands.py Mon Mar 16 18:15:06 2015 +0900 +++ b/mercurial/commands.py Mon Mar 16 18:36:53 2015 +0900 @@ -2929,7 +2929,10 @@ weight, optimizedtree = revset.optimize(newtree, True) ui.note("* optimized:\n", revset.prettyformat(optimizedtree), "\n") func = revset.match(ui, expr) - for c in func(repo): + revs = func(repo) + if ui.verbose: + ui.note("* set:\n", revset.prettyformatset(revs), "\n") + for c in revs: ui.write("%s\n" % c) @command('debugsetparents', [], _('REV1 [REV2]'))