diff mercurial/commands.py @ 18474:e031e10cdc06 stable

help: document '@' bookmark in 'help bookmarks' and 'help clone'
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 25 Jan 2013 11:06:30 -0600
parents 2096e025a728
children 1fb9890c55bd
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jan 23 22:52:55 2013 +0900
+++ b/mercurial/commands.py	Fri Jan 25 11:06:30 2013 -0600
@@ -785,6 +785,10 @@
     repositories to support bookmarks. For versions prior to 1.8, this means
     the bookmarks extension must be enabled.
 
+    If you set a bookmark called '@', new clones of the repository will
+    have that revision checked out (and the bookmark made active) by
+    default.
+
     With -i/--inactive, the new bookmark will not be made the active
     bookmark. If -r/--rev is given, the new bookmark will not be made
     active even if -i/--inactive is not given. If no NAME is given, the
@@ -1146,6 +1150,9 @@
     tag will include the tagged changeset but not the changeset
     containing the tag.
 
+    If the source repository has a bookmark called '@' set, that
+    revision will be checked out in the new repository by default.
+
     To check out a particular version, use -u/--update, or
     -U/--noupdate to create a clone with no working directory.