##// END OF EJS Templates
histedit: clarify modes...
timeless -
r27714:bbb61a83 default
parent child Browse files
Show More
@@ -867,7 +867,7 b' def findoutgoing(ui, repo, remote=None, '
867 867 ('f', 'force', False,
868 868 _('force outgoing even for unrelated repositories')),
869 869 ('r', 'rev', [], _('first revision to be edited'), _('REV'))],
870 _("[ANCESTOR] | --outgoing [URL]"))
870 _("[OPTIONS] ([ANCESTOR] | --outgoing [URL])"))
871 871 def histedit(ui, repo, *freeargs, **opts):
872 872 """interactively edit changeset history
873 873
@@ -887,15 +887,18 b' def histedit(ui, repo, *freeargs, **opts'
887 887
888 888 - `edit` to edit this changeset
889 889
890 The value from the "histedit.defaultrev" config option is used as a
891 revset to select the base revision when ANCESTOR is not specified.
892 The first revision returned by the revset is used. By default, this
893 selects the editable history that is unique to the ancestry of the
894 working directory.
890 There are a number of ways to select the root changset::
891
892 - Specify ANCESTOR directly
895 893
896 With --outgoing, this edits changesets not found in the
897 destination repository. If URL of the destination is omitted, the
898 'default-push' (or 'default') path will be used.
894 - Use --outgoing -- it will be the first linear changeset not
895 included in destination. (See :hg:"help default-push")
896
897 - Otherwise, the value from the "histedit.defaultrev" config option
898 is used as a revset to select the base revision when ANCESTOR is not
899 specified. The first revision returned by the revset is used. By
900 default, this selects the editable history that is unique to the
901 ancestry of the working directory.
899 902
900 903 .. container:: verbose
901 904
General Comments 0
You need to be logged in to leave comments. Login now