New fncache repository format in main
Adrian Buehlmann
adrian at cadifra.com
Fri Oct 24 13:06:00 UTC 2008
On 24.10.2008 01:02, Giorgos Keramidas wrote:
> On Fri, 24 Oct 2008 00:32:23 +0200, Adrian Buehlmann <adrian at cadifra.com> wrote:
>> Matt has pushed the fncache repository format change patch
>> to the Mercurial main repository:
>> http://selenic.com/repo/index.cgi/hg/rev/7946503ec76e
>>
>> fncache solves the long path names problem on Windows
>> by hashing the path inside the store if it would exceed some
>> length limit.
>
> I see that there is an option to `convert' existing repositories to
> fncache format. Is there an option to do the reverse operation too?
>
> It may be useful for those who don't really care about the pathname
> limitations of Windows (at least for now).
I've posted the patch "add format.usefncache config option (default is true)"
to mercurial-devel and Benoit pushed it to crew as
http://hg.intevation.org/mercurial/crew/rev/ae70fe6143fc
With ae70fe6143fc, doing
hg --config format.usefncache=0 clone --pull A B
converts the local fncache repo A to non-fncache repo B.
With ae70fe6143fc you can also specify
[format]
usefncache = False
in your hgrc to disable the fncache format and keep the store format.
More information about the Mercurial
mailing list