hg-git plugin and bookmarks (master)

David Demelier demelier.david at gmail.com
Wed Nov 2 14:02:54 UTC 2016


2016-11-02 12:28 GMT+01:00 Uwe Brauer <oub at mat.ucm.es>:
>
>    > 2016-11-02 8:36 GMT+01:00 Uwe Brauer <oub at mat.ucm.es>:
>
>    > It is (hg help update):
>
>    >     Update the repository's working directory to the specified
>    >     changeset. If no changeset is specified, update to the tip of
>    >     the current named branch and move the active bookmark (see 'hg
>    >     help bookmarks').
>
> Ok, but the solution you proposed, is not mentioned. As a matter of fact
> I did not find anything useful in google. So without your help I still
> would be stuck.
>

hg pull -B . is very recent, so not much articles on it. It's
described in the hg help pull command:

    Specifying bookmark as "." is equivalent to specifying the active
    bookmark's name.

The '.' revision in Mercurial is a very sane alternative for various
revisions. For push, you can do push -r . to only push your current
branch and bookmark. For pull to only pull the current bookmark too.
And so on :)

-- 
Demelier David



More information about the Mercurial mailing list