Mercurial > hg
comparison hgext/bookmarks.py @ 12772:4212fdc4db18
bookmarks: add paragraph on pushing and pulling to help
Text adapted from http://mercurial.selenic.com/wiki/BookmarksExtension
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 19 Oct 2010 12:40:09 -0500 |
parents | 175fb1b193f4 |
children | f13acb96b2a7 |
comparison
equal
deleted
inserted
replaced
12771:c77f6276c9e7 | 12772:4212fdc4db18 |
---|---|
101 | 101 |
102 You can use :hg:`bookmark NAME` to set a bookmark on the working | 102 You can use :hg:`bookmark NAME` to set a bookmark on the working |
103 directory's parent revision with the given name. If you specify | 103 directory's parent revision with the given name. If you specify |
104 a revision using -r REV (where REV may be an existing bookmark), | 104 a revision using -r REV (where REV may be an existing bookmark), |
105 the bookmark is assigned to that revision. | 105 the bookmark is assigned to that revision. |
106 | |
107 Bookmarks can be pushed and pulled between repositories (see :hg:`help | |
108 push` and :hg:`help pull`). This requires the bookmark extension to be | |
109 enabled for both the local and remote repositories. | |
106 ''' | 110 ''' |
107 hexfn = ui.debugflag and hex or short | 111 hexfn = ui.debugflag and hex or short |
108 marks = repo._bookmarks | 112 marks = repo._bookmarks |
109 cur = repo.changectx('.').node() | 113 cur = repo.changectx('.').node() |
110 | 114 |