hgext/histedit.py
changeset 19621 11de0651d3b6
parent 19519 c2a479a058d0
child 19622 3d0ece7523c8
--- a/hgext/histedit.py	Fri Aug 23 16:16:22 2013 -0400
+++ b/hgext/histedit.py	Mon Aug 26 16:11:21 2013 +0900
@@ -451,9 +451,12 @@
      ('f', 'force', False,
       _('force outgoing even for unrelated repositories')),
      ('r', 'rev', [], _('first revision to be edited'))],
-     _("[PARENT]"))
+     _("ANCESTOR"))
 def histedit(ui, repo, *freeargs, **opts):
     """interactively edit changeset history
+
+    This command edits changesets between ANCESTOR and the parent of
+    the working directory.
     """
     # TODO only abort if we try and histedit mq patches, not just
     # blanket if mq patches are applied somewhere
@@ -493,7 +496,7 @@
             revs.extend(freeargs)
             if len(revs) != 1:
                 raise util.Abort(
-                    _('histedit requires exactly one parent revision'))
+                    _('histedit requires exactly one ancestor revision'))
 
 
     if goal == 'continue':