[PATCH 2 of 3 V2] hardlink: duplicate hardlink detection for copying files and directories

Yuya Nishihara yuya at tcha.org
Tue Apr 4 10:51:19 EDT 2017


On Mon, 3 Apr 2017 13:20:45 -0700, Jun Wu wrote:
> Excerpts from Martin von Zweigbergk's message of 2017-04-03 18:41:48 +0000:
> > Sounds good. Will you send a patch?
> 
> I actually tried that before the current fix. But it's not that trivial
> because of interaction with "progess", and "hardlink".
> 
> I think some API change is needed to fix it cleanly. I will think about it
> again and send the fix if API change is simple.

Last time I read that code, I felt it could be simpler if we'd stop using
recursion. I haven't tried though.


More information about the Mercurial-devel mailing list