On 1/24/21 11:16 PM, Roy Marples via Mercurial-devel 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. > For the record, we have a similar problem in Heptapod, which exposes to a machinery heavily tailored for Git, namely GitLab. It would make sense to consider the details (author, description) of the tagging changesets to be the equivalent of annotated Git tags.
At the time I looked into it, I couldn't find any internal API to retrieve that information in an efficient way. But I didn't spend more than half an hour on this and went on to more pressing matters. Maybe would something like that counter-balance the heaviness of our global tags by giving it more applications? In any case, it's still low on my personal list of problems to tackle. For reference, here's our tracking issue for this: https://foss.heptapod.net/heptapod/hgitaly/-/issues/5 Best, -- Georges Racinet https://octobus.net, https://about.heptapod.host, https://heptapod.net GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel