Stamps

Kevin Bullock kbullock+mercurial at ringworld.org
Mon May 9 12:48:12 CDT 2011


On May 9, 2011, at 12:35 PM, Kevin Bullock wrote:

> On May 7, 2011, at 6:52 PM, Adrian Buehlmann wrote:
> 
>> veracity [1] has the concept of "stamps". A stamp is like a tag (a name)
>> that can be applied to changesets. But a stamp differs from a tag
>> because the same stamp can be applied to *multiple* changesets.
>> 
>> Example usage: "passes test", "behavior change", "pending review"
> 
> How is this different from (a) named branches, and (b) bookmarks when used as described in issue2788?
> 
> For reference, here's the 4(!) types of labels we currently have (cribbed from mpm's notes on issue2788):

Actually let's extend that with a column that indicates whether a label can apply to multiple commits or not:

name      stored   mutable  auditable  sharable  auto-updating  multiple
tags      .hgtags  yes      yes        yes       no             no
localtags .hg      yes      no         no        no             no
branches  commit   no       yes        yes       no             yes
bookmarks .hg      yes      no         yes       if-current     no

...the extra column bringing the number of possible combinations to *20*.

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock



More information about the Mercurial-devel mailing list