[issue1417] "maximum recursion depth exceeded " exception when cloning to fncache layout on windows

vincentcr mercurial-bugs at selenic.com
Thu Dec 4 11:37:40 CST 2008


New submission from vincentcr <vincentcr at netmosphere.net>:

Using mercurial 1.1+20081203 on Windows, when trying to clone --pull with
fncache enabled, I get the exception stacktraced below, which looks to me like
an infinite recursion. 

Previously that repo was affected by issue 839 ("Hg local store creates paths
too long for Windows"). this was an attempt to use fncache to solve that issue.
The same operation succeeds on linux.

The same error occurs whether I try to clone a local repo created with
usestore=0, or a remote repo hosted on linux created with usestore=1.


rollback completed
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.1+20081203)
** Extensions loaded: win32text
Traceback (most recent call last):
  File "hg", line 20, in <module>
  File "mercurial\dispatch.pyc", line 20, in run
  File "mercurial\dispatch.pyc", line 29, in dispatch
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 367, in _dispatch
  File "mercurial\dispatch.pyc", line 416, in _runcommand
  File "mercurial\dispatch.pyc", line 376, in checkargs
  File "mercurial\dispatch.pyc", line 361, in <lambda>
  File "mercurial\util.pyc", line 715, in check
  File "mercurial\commands.pyc", line 595, in clone
  File "mercurial\hg.pyc", line 215, in clone
  File "mercurial\localrepo.pyc", line 2137, in clone
  File "mercurial\localrepo.pyc", line 1481, in pull
  File "mercurial\localrepo.pyc", line 2029, in addchangegroup
  File "mercurial\revlog.pyc", line 1189, in addgroup
  File "mercurial\store.pyc", line 244, in __call__
  File "mercurial\util.pyc", line 1608, in __call__
  File "mercurial\util.pyc", line 1566, in makedirs
  File "mercurial\util.pyc", line 1566, in makedirs
[... snip  thousands of lines like the last one ...]
  File "mercurial\util.pyc", line 1566, in makedirs
  File "mercurial\util.pyc", line 1555, in makedirs
  File "mercurial\demandimport.pyc", line 74, in __getattribute__
  File "mercurial\demandimport.pyc", line 44, in _load
  File "mercurial\demandimport.pyc", line 72, in __getattribute__
RuntimeError: maximum recursion depth exceeded in cmp

----------
messages: 8076
nosy: vincentcr
priority: urgent
status: unread
title: "maximum recursion depth exceeded " exception when cloning to fncache layout on windows
topic: casefolding, windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1417>
____________________________________________________



More information about the Mercurial-devel mailing list