[PATCH 3 of 8] commands: add bookmark command and bookmark related options to core commands

Gilles Moris gilles.moris at free.fr
Mon Jan 17 07:32:55 UTC 2011


On Sunday 16 January 2011 11:57:39 pm dsp at php.net wrote:
> +def bookmark(ui, repo, mark=None, rev=None, force=False, delete=False,
> rename=None): +    '''track a line of development with movable markers
> +
> +    Bookmarks are pointers to certain commits that move when
> +    committing. Bookmarks are local. They can be renamed, copied and

It seems that bookmarks will not be local anymore, since they will be pushed 
pulled automatically from now on. Or am I misunderstanding ?

> +    deleted. It is possible to use bookmark names in :hg:`merge` and
> +    :hg:`update` to merge and update respectively to a given bookmark.
> +
> +    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 assigned to that revision.
> +
> +    Bookmarks can be pushed and pulled between repositories (see :hg:`help
> +    push` and :hg:`help pull`).
> +    '''

Same thing here: "Bookmarks *will* be pushed and pulled ..." ?

Regards.
Gilles.



More information about the Mercurial-devel mailing list