# HG changeset patch # User timeless # Date 2016-01-22 20:32:47 # Node ID 6bc2299cc12f95faa295dc93ada6a862c7be59e6 # Parent 1289a122cf3f55ed8c37be11157fe8acf06abfe5 rebase: restore help for rebase w/o args (issue5059) Restoring documentation accidentally removed in a9a047878e14. diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -121,7 +121,7 @@ def rebase(ui, repo, **opts): 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 @@ def rebase(ui, repo, **opts): 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).