[ANN] tagmerge - an extension for merging .hgtags

Greg Ward greg-hg at gerg.ca
Thu Feb 4 19:48:57 CST 2010


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


More information about the Mercurial-devel mailing list