Large repository clone error
Ryan Hartzog
rhartzog at gmail.com
Fri Oct 22 13:05:55 UTC 2010
Thanks for the help. I updated to the latest rev and started from scratch
since this was a new repo anyhow. Instead of trying to commit and push all
of it at the same time I used smaller chunks at a time. Took more work, but
was able to check validity of repo with each push. Not sure which variable I
changed that helped, but it is working well and I appreciate the help.
Ryan Hartzog
On Tue, Oct 19, 2010 at 2:30 PM, Andrei Vermel <avermel at mail.ru> wrote:
> On 19-Oct-10 6:17 PM, Adrian Buehlmann wrote:
>
> On 19.10.2010 06:59, Andrei Vermel wrote:
>
> On 19-Oct-10 1:11 AM, Adrian Buehlmann wrote:
>
> On 18.10.2010 22:42, Andrei Vermel wrote:
>
> This is probably the windows limit on path length of 260 symbols.
> I had it a few days ago during clone.
> I patched hg locally to use unicode UNC paths instead and it worked.
>
> You are aware that Mercurial 1.1 introduced hashing for long paths?
>
> http://mercurial.selenic.com/wiki/fncacheRepoFormat#Hashing_of_long_paths
>
> Ah, thanks Adrian! I missed that out.
> It would have been helpful if the path length exception displayed a
> suggestion to redo the repo in the new format rather then just rolling
> back though.
>
> Good point. What was the text of that exception?
>
>
> Complained about a non-existing file filename.i and rolled back the clone.
> Unfortunately I converted that repo to the new format already, so can't say
> precisely.
>
> I completely neglected that you could have been using a repo in an older
> format (pre-fncache).
>
> 'hg clone --pull oldrepo newrepo' will convert it to the "fncache"
> (=path hashing) format (for a recent enough hg).
>
> You can look into the file .hg/requires. If you see an entry 'fncache'
> then that repo is using hashed paths.
>
> BTW, the upcoming Mercurial release 1.7 will introduce yet another new
> repo layout ("dotencode", see http://selenic.com/repo/hg/rev/34d8247a4595)
>
>
>
> Thanks,
>
> Andrei
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101022/7e6a43aa/attachment.html>
More information about the Mercurial
mailing list