Help: bookmarks

hg bookmarks [OPTIONS]... [NAME]...

aliases: bookmark

create a new bookmark or list existing bookmarks

Bookmarks are labels on changesets to help track lines of development. Bookmarks are unversioned and can be moved, renamed and deleted. Deleting or moving a bookmark has no effect on the associated changesets.

Creating or updating to a bookmark causes it to be marked as 'active'. The active bookmark is indicated with a '*'. When a commit is made, the active bookmark will advance to the new commit. A plain 'hg update' will also advance an active bookmark, if possible. Updating away from a bookmark will cause it to be deactivated.

Bookmarks can be pushed and pulled between repositories (see 'hg help push' and 'hg help pull'). If a shared bookmark has diverged, a new 'divergent bookmark' of the form 'name@path' will be created. Using 'hg merge' will resolve the divergence.

Specifying bookmark as '.' to -m/-d/-l options is equivalent to specifying the active bookmark's name.

A bookmark named '@' has the special property that 'hg clone' will check it out by default if it exists.

Template:

The following keywords are supported in addition to the common template keywords and functions such as "{bookmark}". See also 'hg help templates'.

active
Boolean. True if the bookmark is active.

Examples:

  • create an active bookmark for a new line of development:
    hg book new-feature
    
  • create an inactive bookmark as a place marker:
    hg book -i reviewed
    
  • create an inactive bookmark on another changeset:
    hg book -r .^ tested
    
  • rename bookmark turkey to dinner:
    hg book -m turkey dinner
    
  • move the '@' bookmark from another branch:
    hg book -f @
    
  • print only the active bookmark name:
    hg book -ql .
    

options:

-f --force force
-r --rev REV revision for bookmark action
-d --delete delete a given bookmark
-m --rename OLD rename a given bookmark
-i --inactive mark a bookmark inactive
-l --list list existing bookmarks
-T --template TEMPLATE display with template

global options ([+] can be repeated):

-R --repository REPO repository root directory or name of overlay bundle file
--cwd DIR change working directory
-y --noninteractive do not prompt, automatically pick the first choice for all prompts
-q --quiet suppress output
-v --verbose enable additional output
--color TYPE when to colorize (boolean, always, auto, never, or debug)
--config CONFIG [+] set/override config option (use 'section.name=value')
--debug enable debugging output
--debugger start debugger
--encoding ENCODE set the charset encoding (default: UTF-8)
--encodingmode MODE set the charset encoding mode (default: strict)
--traceback always print a traceback on exception
--time time how long the command takes
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
--hidden consider hidden changesets
--pager TYPE when to paginate (boolean, always, auto, or never) (default: auto)
.ѷa xqZ:iUAç6U" K]>tOQ-*rtYx\9 T4 (a"?bL5YF|{PO>>GP#gez2]Mq|PyϷj>d<{ #cp?`x`=+@LS4}Q5s"};]`2!* dކ xqJSʆ3R{:5D2ˤ.HE5D V8P qU#:8~u$-@B'fpԬ&ףfpj@g_y@7hƣxZCoIR ]``2p ҩ с-q=sw_r+Kyܳcn }0isa18U2GPRe+FPS #}u@.j(&L} )"HXZ9YޗN4oQ $XZra^u/`EVs^ 7f2̮p4 $QIɡ$Qf1^5hrIV+RI8?quNchLw4)C i3[ $AhԲ-H5iwu*"T iJ Wx(@\$,d"6+aȄ$CF}"o% Z3W[dDc'cJxnc_&j4.NwVZ%#ܷߟ&nw.24. aeES+V*#+F ]XaSWbZaHEx Jd|8vw< j! bӈr(>Mª F\E`YHJ*pȄS(e\WIEJ D;3Z; f:{$+yCdd{CV΅uav/'zÌRGyWUC-~eI`"ҴH+Z+8y]d&˥@⵪ʬ8#Qޛy &tu`e͊κϔO ʣt AAN+ O& J> _{j$v2]* j*X@+eܛґ7뗭A2>jtv:4>Pw Aтq5dFhY<䋜C!@"v}L$,uƂ yX٤E*SxJ/3}?$P; !`R$ vxN tLG#ﰐ 6GICDd?hBmT }6qT%6YG)`3݌f~;Ʒq9ѡ/]:KMftVLwy`u^ 眧u'Ф р]0y4 !8LQ,^L..kBQ rтBSUHx4 e{2Lz$B R ZSnrc,\1BGQ ؤWm%{xأ4i$JI"c9Logd8r5Taq"R{a4x2} k3%T})6Pt5.bRdNhb%qqZ #Bԑi;a!H)5U  C*xD$ˀd1XA? QB y~|z=Uj P^ XzT S^(]%`ScZBR1+R ~rB*,=UmnG٦Ng:vy ;|X T읛PՔW*ax*a޼yؽM%l21+S&L$ȹE^f(&teX4ݮ x:òG]piZr3:F#&=H*_^ Z.< R!vH1QH/X>pf̤>hTHiz![l|t;{;|rD_y&|``89_gJjzw4_-;)xt,5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