Stamps

Didly didlybom at gmail.com
Mon May 9 14:57:33 CDT 2011


On Mon, May 9, 2011 at 7:35 PM, Kevin Bullock
<kbullock+mercurial at ringworld.org> 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):
>
> name      stored   mutable  auditable  sharable  auto-updating
> tags      .hgtags  yes      yes        yes       no
> localtags .hg      yes      no         no        no
> branches  commit   no       yes        yes       no
> bookmarks .hg      yes      no         yes       if-current
>

The main difference between "stamps" and branches is mutability. There
is currently no way to be able to mark multiple changesets with the
same "marker" on a non permanent way, nor you can apply them after the
changeset has been created.

Angel


More information about the Mercurial-devel mailing list