Bookmark concept

Adrian Buehlmann adrian at cadifra.com
Sat Mar 29 13:58:29 CDT 2008


On 29.03.2008 19:21, Matt Mackall wrote:
> So I've been tinkering with a new concept which I call a 'bookmark'. A
> bookmark would be like a local tag that gets updated every commit. So to
> work on a feature, you'd run 'hg bookmark myfeature', do a bunch of
> commits, and the myfeature bookmark would follow along. Switching
> between features (or branches, etc.) would be an 'hg update <id>'.

Let's say you have a bookmark "myfeature", currently pointing
to changeset 5ffa962783c4.

Then let's pull two new child changesets 8ca25589e960 and 23425a45e52d
of 5ffa962783c4 from another repo.

What happens with the myfeature bookmark on that pull?


More information about the Mercurial-devel mailing list