Bookmark concept

Matt Mackall mpm at selenic.com
Sat Mar 29 14:00:32 CDT 2008


On Sat, 2008-03-29 at 19:58 +0100, Adrian Buehlmann wrote:
> 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?

Good question. Probably nothing. Think of bookmarks like a literal
bookmark. If other people move your bookmark, you kick them in the
shins.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list