Show More
@@ -15,14 +15,15 b' bookmark is forwarded to the new changes' | |||||
15 | It is possible to use bookmark names in every revision lookup (e.g. hg |
|
15 | It is possible to use bookmark names in every revision lookup (e.g. hg | |
16 | merge, hg update). |
|
16 | merge, hg update). | |
17 |
|
17 | |||
18 |
The bookmark extension offers the possiblity to have a more git-like |
|
18 | The bookmark extension offers the possiblity to have a more git-like | |
19 | by adding the following configuration option to your .hgrc: |
|
19 | experience by adding the following configuration option to your .hgrc: | |
20 |
|
20 | |||
21 | [bookmarks] |
|
21 | [bookmarks] | |
22 | track.current = True |
|
22 | track.current = True | |
23 |
|
23 | |||
24 |
This will cause bookmarks to track the bookmark that you are currently |
|
24 | This will cause bookmarks to track the bookmark that you are currently | |
25 |
just updates it. This is similar to git's approach of |
|
25 | on, and just updates it. This is similar to git's approach of | |
|
26 | branching. | |||
26 | ''' |
|
27 | ''' | |
27 |
|
28 | |||
28 | from mercurial.i18n import _ |
|
29 | from mercurial.i18n import _ | |
@@ -115,8 +116,8 b' def bookmark(ui, repo, mark=None, rev=No' | |||||
115 |
|
116 | |||
116 | Bookmarks are pointers to certain commits that move when |
|
117 | Bookmarks are pointers to certain commits that move when | |
117 | commiting. Bookmarks are local. They can be renamed, copied and |
|
118 | commiting. Bookmarks are local. They can be renamed, copied and | |
118 |
deleted. It is possible to use bookmark names in 'hg merge' and |
|
119 | deleted. It is possible to use bookmark names in 'hg merge' and | |
119 | update' to update to a given bookmark. |
|
120 | 'hg update' to update to a given bookmark. | |
120 |
|
121 | |||
121 | You can use 'hg bookmark NAME' to set a bookmark on the current |
|
122 | You can use 'hg bookmark NAME' to set a bookmark on the current | |
122 | tip with the given name. If you specify a revision using -r REV |
|
123 | tip with the given name. If you specify a revision using -r REV |
General Comments 0
You need to be logged in to leave comments.
Login now