diff -r 0250047a365e -r f184fe1e2ac5 hgext/histedit.py --- a/hgext/histedit.py Tue May 14 11:23:17 2013 -0700 +++ b/hgext/histedit.py Tue May 14 11:23:18 2013 -0700 @@ -856,3 +856,16 @@ repair.strip(ui, repo, c) finally: lockmod.release(lock) + +def summaryhook(ui, repo): + if not os.path.exists(repo.join('histedit-state')): + return + (parentctxnode, rules, keep, topmost, replacements) = readstate(repo) + if rules: + # i18n: column positioning for "hg summary" + ui.write(_('hist: %s (histedit --continue)\n') % + (ui.label(_('%d remaining'), 'histedit.remaining') % + len(rules))) + +def extsetup(ui): + cmdutil.summaryhooks.add('histedit', summaryhook)