[PATCH] bookmarks: update docstring

Abderrahim Kitouni a.kitouni at gmail.com
Sat Jun 6 16:00:28 CDT 2009


# HG changeset patch
# User Abderrahim Kitouni <a.kitouni at gmail.com>
# Date 1244147069 -3600
# Node ID 63c450fbec1e6ab6f0f7a47202583c9eb1b5920e
# Parent  2816239e0020cada834efcf839b4f8fe320a5eb4
bookmarks: update docstring

diff --git a/hgext/bookmarks.py b/hgext/bookmarks.py
--- a/hgext/bookmarks.py
+++ b/hgext/bookmarks.py
@@ -119,10 +119,10 @@ def bookmark(ui, repo, mark=None, rev=No
     deleted. It is possible to use bookmark names in 'hg merge' and
     'hg update' to update to a given bookmark.
 
-    You can use 'hg bookmark NAME' to set a bookmark on the current
-    tip with the given name. If you specify a revision using -r REV
-    (where REV may be an existing bookmark), the bookmark is set to
-    that revision.
+    You can use 'hg bookmark NAME' to set a bookmark on the working
+    directory's parent revision with the given name. If you specify
+    a revision using -r REV (where REV may be an existing bookmark),
+    the bookmark is assigned to that revision.
     '''
     hexfn = ui.debugflag and hex or short
     marks = parse(repo)


More information about the Mercurial-devel mailing list