histedit: add description about "histedit --outgoing" to command help stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 26 Aug 2013 16:11:21 +0900
branchstable
changeset 19644 bd5c1b49d106
parent 19643 623753602f43
child 19645 4b83bcc1f965
child 19646 335a558f81dc
histedit: add description about "histedit --outgoing" to command help Before this patch, there is no explicit description that argument is treated as the URL of the destination repository when "--outgoing" is specified. This patch adds description about "histedit --outgoing" to command help of it.
hgext/histedit.py
--- a/hgext/histedit.py	Mon Aug 26 16:11:21 2013 +0900
+++ b/hgext/histedit.py	Mon Aug 26 16:11:21 2013 +0900
@@ -451,12 +451,16 @@
      ('f', 'force', False,
       _('force outgoing even for unrelated repositories')),
      ('r', 'rev', [], _('first revision to be edited'))],
-     _("ANCESTOR"))
+     _("ANCESTOR | --outgoing [URL]"))
 def histedit(ui, repo, *freeargs, **opts):
     """interactively edit changeset history
 
     This command edits changesets between ANCESTOR and the parent of
     the working directory.
+
+    With --outgoing, this edits changesets not found in the
+    destination repository. If URL of the destination is omitted, the
+    'default-push' (or 'default') path will be used.
     """
     # TODO only abort if we try and histedit mq patches, not just
     # blanket if mq patches are applied somewhere