[PATCH] extdiff: single file diffs from the wc without making a copy

Brad Schick schickb at gmail.com
Tue Aug 7 00:24:43 CDT 2007


On 8/6/07, Peter Williams <pwil3058 at bigpond.net.au> wrote:
> > This was just mentioned on the main list as well. Seems like a good
> > idea, but portability might be difficult.
>
> What about different behaviour for different systems?  Or make it an
> option and say that the option is not available on Windows?

We'll I'm pretty new to mercurial so I don't know the policy on that.
But as a >50% Windows users... it would suck ;)

>> ntfs supports hard-links, but
>> they aren't very well exposed and not available through python (as far
>> as I can tell).
>
> Hard links wouldn't work would they?  AFAIK as soon as you modify a hard
> linked file the link is broken and a copy is made.

I believe they work just like under *nix. Meaning they are another
directory entry for a chunk of data. They definitely aren't copy on
write. But one limitation is that hard-links need to be on the same
filesystem as the target.

-Brad


More information about the Mercurial-devel mailing list