Cygwin and Win32 native support

Patrick Mézard pmezard at gmail.com
Mon Mar 10 16:54:25 CDT 2008


Guido Ostkamp a écrit :
> 
> On Mon, 10 Mar 2008, Patrick Mézard wrote:
>>> On Mon, 2008-03-10 at 20:36 +0100, Guido Ostkamp wrote:
>>>> So I tried Mercurial under Cygwin on the PC to clone
>>>>
>>>>    ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate
>>>>
>>>> over a socks 4 proxy using special ~/.ssh/config setting, but it got
>>>> stuck after some ~17800 files. From at home I know there are much
>>>> more. I retried this several times, but it always stops after
>>>> reaching that number of files.
>>
>> Sounds like http://www.selenic.com/mercurial/bts/issue793
> 
> yes, I think that's it. It is exactly the same OpenSolaris repo, only
> difference being that you clone over http while I had to use ssh.
> 
> In the bug report, someone mentioned the problem occurs when applying
> file changes.
> 
> Do you think using the '-U' option ("do not update the new working
> directory") for cloning would work?

No, the problem is the store itself cannot be created on Windows, for there is an "aux" directory.

>> From the error report it looks like analysis is finished but no decision 
> has been taken on how to solve it. I consider this bug a serious show
> stopper which should be fixed before Mercurial 1.0 as it might require
> incompatible repo format changes, if I understand the bug report correctly.

I don't like the current solution because it fixes a specific issue with a specific hack. Unfortunately, there is no real abstraction at store level which makes this kind of hack really expensive in term of compatibility. Another crufty filesystem would trigger another issue. I cannot really think of a simple workaround for this, but maybe people experienced with the previous store format updates have better ideas. I probably don't understand the whole trade-off with file to store direct mapping, but given the other issues related to file name lengths it might be worth breaking it more thoroughly.

--
Patrick Mézard


More information about the Mercurial mailing list