[PATCH] bookmarks: update docstring

Abderrahim Kitouni a.kitouni at gmail.com
Thu Jun 4 16:55:44 CDT 2009


# HG changeset patch
# User Abderrahim Kitouni <a.kitouni at gmail.com>
# Date 1244147069 -3600
# Node ID 04ea633640a11c2f7b5270ce994149e2601f89b5
# Parent  de6bb29e208a6e1d3e68bc7840e5798377082c30
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 set to that revision.
     '''
     hexfn = ui.debugflag and hex or short
     marks = parse(repo)


More information about the Mercurial-devel mailing list