[Bug 3952] New: demandimport issues

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jun 3 15:47:37 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3952

          Priority: normal
            Bug ID: 3952
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: demandimport issues
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: marcin at python-blog.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6.2
         Component: Mercurial
           Product: Mercurial

Some RhodeCode users after upgrading to version 1.6.0+ which came with
mercurial 2.5.4 started to get such errors: 

https://secure.rhodecode.org/_admin/gists/XDqxZbhQEf7zJsbbpK7E

* related ticket: https://bitbucket.org/marcinkuzminski/rhodecode/issue/846

It looks somehow that mercurial demandimport get's enabled, and that breaks
RhodeCode. I looked at mercurial code, and i suspect this particular part:
https://secure.rhodecode.org/mercurial/files/4f485bd68f1debb88d5022a732d85c8c225e91fc/mercurial/hook.py#L39-50

>From what i see here, is that demandimport.enable() is called every time after
a module is loaded. This change was introduced in Mercurial 2.5.0.

Previous version of RhodeCode used hg 2.4.X, we never had any issues with
demandimport with those versions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list