[PATCH] pull: add help information about pulling active bookmark

liscju piotr.listkiewicz at gmail.com
Mon Jun 20 17:26:16 EDT 2016


# HG changeset patch
# User liscju <piotr.listkiewicz at gmail.com>
# Date 1466457895 -7200
#      Mon Jun 20 23:24:55 2016 +0200
# Node ID c75c8ea2f5737e589bd4f1047df25b91941241b9
# Parent  f3dca85bd2d10a921fb735f945d1dbbc6198cfd1
pull: add help information about pulling active bookmark

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5784,6 +5784,9 @@ def pull(ui, repo, source="default", **o
     If SOURCE is omitted, the 'default' path will be used.
     See :hg:`help urls` for more information.
 
+    Specifying bookmark as ``.`` is equivalent to specifying the active
+    bookmark's name.
+
     Returns 0 on success, 1 if an update had unresolved files.
     """
     source, branches = hg.parseurl(ui.expandpath(source), opts.get('branch'))


More information about the Mercurial-devel mailing list