Getting the revisions of .hgtags programatically

Joerg Sonnenberger joerg at bec.de
Sun Jan 24 22:50:00 UTC 2021


On Sun, Jan 24, 2021 at 10:16:46PM +0000, Roy Marples wrote:
> Hi Joerg
> 
> On 24/01/2021 22:03, Joerg Sonnenberger wrote:
> > Hello Roy,
> > isn't repo.tagslist() (and maybe filtering out local tags) already doing
> > what you want?
> 
> It is sort of. I use it to get a list of tag and yes, I filter out non
> globals already.
> However, it only returns the revision tagged with the name, not which
> revision created the tag.

Why do you care?

Joerg



More information about the Mercurial-devel mailing list