# HG changeset patch # User timeless@mozdev.org # Date 1444158340 14400 # Tue Oct 06 15:05:40 2015 -0400 # Node ID 832f40d2af53915b8f11e1ddcd7d576cc3cfb578 # Parent 13272104bb073169ec9e104a71a657fc3ff6ce98 rebase: factor out histedit help command diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -217,8 +217,9 @@ keepopen = opts.get('keepopen', False) if opts.get('interactive'): + help = "hg help histedit" msg = _("interactive history editing is supported by the " - "'histedit' extension (see \"hg help histedit\")") + "'histedit' extension (see \"%s\")") % help raise util.Abort(msg) if collapsemsg and not collapsef: