Bookmarks in core?

Jason Harris jason at jasonfharris.com
Tue Nov 30 03:15:21 CST 2010


On a general discussion of bookmarks. It strikes me, that we could possibly
generalize bookmarks and tags into one whole concept. These are almost the
same things. Ie if we were to generalize them then we would have in general
just "labels". With two distinctions: Is the label advancing or fixed? Is it
local or global(shared)?

advancing-local labels (are bookmarks as they are currently called)
advancing-global labels (these don't exist AFAIK)
fixed-global labels (are tags)
fixed-local labels (are --local tags)

so then can we just have "hg labels" to list all the labels (we could add
letters before hand to give the "type" of the label as we do for "hg
status") (currently for instance the word local is added on to the end of
the output of "hg tags" for each local tag.)

And we would have "hg label name" which could take options --local and
--advancing or something similar...

(Or you could just stick with tag and further overload it... Which is fairly
equivalent...)

Just a thought if bookmarks are going to be moved into core...

Cheers,
  Jas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101130/a10b5bc6/attachment.htm>


More information about the Mercurial-devel mailing list