Patchwork [2,of,5] histedit: add description about "histedit --outgoing" to command help

mail settings
Submitter Katsunori FUJIWARA
Date Aug. 26, 2013, 7:41 a.m.
Message ID <33eeda9255b9fbca8581.1377502909@feefifofum>
Download mbox | patch
Permalink /patch/2258/
State Accepted
Headers show


Katsunori FUJIWARA - Aug. 26, 2013, 7:41 a.m.
# HG changeset patch
# User FUJIWARA Katsunori <>
# Date 1377501081 -32400
#      Mon Aug 26 16:11:21 2013 +0900
# Node ID 33eeda9255b9fbca85819ee5d7340650b0482f17
# Parent  16d2e0f938a3ff0c0d0c4c449979652b2e4e633c
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

This patch adds description about "histedit --outgoing" to command
help of it.


diff --git a/hgext/ b/hgext/
--- a/hgext/
+++ b/hgext/
@@ -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