Skip to content
Snippets Groups Projects
Commit bd5c1b49 authored by Katsunori FUJIWARA's avatar Katsunori FUJIWARA
Browse files

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.
parent 62375360
No related branches found
No related tags found
No related merge requests found
......@@ -451,9 +451,9 @@
('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.
......@@ -455,8 +455,12 @@
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment