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