rebase: restore help for rebase w/o args (issue5059) stable
authortimeless <timeless@mozdev.org>
Fri, 22 Jan 2016 20:32:47 +0000
branchstable
changeset 27932 6bc2299cc12f
parent 27931 1289a122cf3f
child 27933 a6833e464b07
rebase: restore help for rebase w/o args (issue5059) Restoring documentation accidentally removed in a9a047878e14.
hgext/rebase.py
--- 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).