[ANN] tagmerge - an extension for merging .hgtags

Qi Yang qi.yang137 at gmail.com
Tue Feb 9 01:15:21 CST 2010


Hi, Greg:

For reading tags, what is the algorithm to store all the tags information?
i.e. I know I can get tagname and tagnode through localrepo.tags() function.
How can I get other informations like user, message, date etc? and how can I
get the changeset stored in .hgtags file?

Thanks,
Wendy

On Thu, Feb 4, 2010 at 8:48 PM, Greg Ward <greg-hg at gerg.ca> wrote:

> On Thu, Feb 4, 2010 at 6:37 PM, Qi Yang <qi.yang137 at gmail.com> wrote:
> > filemerge.py has something similar. but it is too complicated to totally
> use
> > it (checks symlink and binary). So I just wrote a simpler version based
> on
> > it. Should I try to use it?
>
> I would say so, yes.  If at all possible, reuse rather than rewrite.
> What is the harm in using code that checks for symlinks or binary
> data?  .hgtags is neither, so those code paths won't run.  Merging
> .hgtags is hardly performance critical, so as long as the code in
> filemerge.py works, I would use it.
>
> Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100209/e9d26232/attachment.htm>


More information about the Mercurial-devel mailing list