[ANN] tagmerge - an extension for merging .hgtags

Qi Yang qi.yang137 at gmail.com
Tue Feb 9 01:36:22 CST 2010


Actually, the function I was using "_picktool" is private in filemerge.py. I
don't think
I can directly use it.

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/df2f3dc3/attachment.htm>


More information about the Mercurial-devel mailing list