Use of tags
Dean Roehrich
dean.roehrich at sun.com
Mon Mar 5 19:05:59 UTC 2007
On Mon, Mar 05, 2007 at 10:35:31AM -0800, Kelly O'Hair wrote:
> Does anyone have any experience with massive numbers of tags?
> They seem very lightweight, so I don't think there is an issue with
> perhaps as many tags as there are changesets, at least size wise.
>
> I'm considering adding a tag with a change request number (bugid) to
> the global tags so that it would be easy to find the latest changeset for
> a change request or bug fix. Has anyone tried this?
> Seems like it would create a nice link between the actual changes and the
> change request or bug tracking system.
As long as each bugid corresponds to only one changeset...depends on the
practices used by your team.
One experiment we're trying with my project is to make the changeset's summary
fit the format of "bugid: bug summary". So it looks like this:
changeset: 6994:77dbbf994a88
user: dean.roehrich at sun.com
date: Wed Sep 06 16:21:21 2006 +0000
summary: 6467463: place new leases at end of lease chain
This can be found with: hg log -k 6467463
Dean
More information about the Mercurial
mailing list