Unknown exception encountered applying patch

Alex Vincent ajvincent at gmail.com
Sun Jul 6 00:18:11 CDT 2008


I tried applying the attached patch to a checkout of mozilla-central
from hg.mozilla.org, and it failed:

$ hg import --no-commit ../content-policy.diff
applying ../content-policy.diff
** 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.0.1+20080525)
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 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "mercurial\commands.pyc", line 1513, in import_
  File "mercurial\patch.pyc", line 81, in extract
  File "mercurial\demandimport.pyc", line 70, in __call__
TypeError: <unloaded module 'walk'> object is not callable

-- 
"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content-policy.diff
Type: application/octet-stream
Size: 52155 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080705/3ab2276c/attachment.obj 


More information about the Mercurial mailing list