[issue862] Import fails with 'unloaded module' on Windows

John Rice mercurial-bugs at selenic.com
Mon Dec 10 05:34:35 CST 2007


New submission from John Rice <john.rice at sun.com>:

Trying to do a simple import from a local Hg repository in NetBeans IDE. Failed
in the IDE so tried from the command line, this is what I see (import patch I
used attached):

Using TortoiseHg package on Windows:
http://downloads.sourceforge.net/qct/Mercurial-feac5b0bf9ba-TortoiseHg-1f161ca182e3.exe
Windows: XP SP2
Hg Version: Mercurial Distributed SCM (version feac5b0bf9ba+win32extras)

C:\Documents and Settings\John>hg import -v --repository "C:\Documents and Setti
ngs\John\My Documents\NetBeansProjects\JavaApplication10_clone0" --cwd "C:\Docum
ents and Settings\John\My Documents\NetBeansProjects\JavaApplication10_clone0" C
:\tmp\JavaApplication10_1_0bde5b9d182c
applying C:\tmp\JavaApplication10_1_0bde5b9d182c
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version feac5b0bf9ba+win32extras)
Traceback (most recent call last):
  File "hg", line 31, 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 348, in _dispatch
  File "mercurial\dispatch.pyc", line 401, in _runcommand
  File "mercurial\dispatch.pyc", line 357, in checkargs
  File "mercurial\dispatch.pyc", line 340, in <lambda>
  File "mercurial\commands.pyc", line 1580, in import_
  File "mercurial\patch.pyc", line 81, in extract
  File "mercurial\demandimport.pyc", line 70, in __call__
TypeError: 'unloaded module' object is not callable

----------
files: JavaApplication10_1_0bde5b9d182c
messages: 4555
nosy: jmr
priority: urgent
status: unread
title: Import fails with 'unloaded module' on Windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue862>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JavaApplication10_1_0bde5b9d182c
Type: application/octet-stream
Size: 561 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20071210/0c9125f4/attachment.obj 


More information about the Mercurial-devel mailing list