Mercurial > hg-stable
changeset 27932:6bc2299cc12f stable
rebase: restore help for rebase w/o args (issue5059)
Restoring documentation accidentally removed in a9a047878e14.
author | timeless <timeless@mozdev.org> |
---|---|
date | Fri, 22 Jan 2016 20:32:47 +0000 |
parents | 1289a122cf3f |
children | a6833e464b07 |
files | hgext/rebase.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Tue Jan 19 15:37:07 2016 -0800 +++ b/hgext/rebase.py Fri Jan 22 20:32:47 2016 +0000 @@ -121,7 +121,7 @@ destination changeset is not modified by rebasing, but new changesets are added as its descendants.) - There are three ways to select changesets:: + Here are the ways to select changesets:: 1. Explicitly select them using ``--rev``. @@ -131,6 +131,9 @@ 3. Use ``--base`` to select a changeset; rebase will find ancestors and their descendants which are not also ancestors of the destination. + 4. If you do not specify any of ``--rev``, ``source``, or ``--base``, + rebase will use ``--base .`` as above. + Rebase will destroy original changesets unless you use ``--keep``. It will also move your bookmarks (even if you do).