[issue904] not in dirstate, unknown exception
Ondrej Certik
mercurial-bugs at selenic.com
Sun Dec 30 22:53:31 UTC 2007
New submission from Ondrej Certik <ondrej at certik.cz>:
I moved one directory to another location, then did "hg export > /tmp/xa",
then cloned the repository again (without the patch) and did:
$ hg import /tmp/xa
applying /tmp/xa
not in dirstate: sympy/plotting/pyglet/__init__.py!
not in dirstate: sympy/plotting/pyglet/clock.py!
not in dirstate: sympy/plotting/pyglet/com.py!
not in dirstate: sympy/plotting/pyglet/event.py!
not in dirstate: sympy/plotting/pyglet/font/__init__.py!
not in dirstate: sympy/plotting/pyglet/font/base.py!
not in dirstate: sympy/plotting/pyglet/font/carbon.py!
not in dirstate: sympy/plotting/pyglet/font/freetype.py!
not in dirstate: sympy/plotting/pyglet/font/freetype_lib.py!
not in dirstate: sympy/plotting/pyglet/font/ttf.py!
not in dirstate: sympy/plotting/pyglet/font/win32.py!
not in dirstate: sympy/plotting/pyglet/gl/__init__.py!
not in dirstate: sympy/plotting/pyglet/gl/agl.py!
not in dirstate: sympy/plotting/pyglet/gl/gl.py!
not in dirstate: sympy/plotting/pyglet/gl/gl_info.py!
not in dirstate: sympy/plotting/pyglet/gl/glext_arb.py!
not in dirstate: sympy/plotting/pyglet/gl/glext_missing.py!
not in dirstate: sympy/plotting/pyglet/gl/glext_nv.py!
not in dirstate: sympy/plotting/pyglet/gl/glu.py!
not in dirstate: sympy/plotting/pyglet/gl/glu_info.py!
not in dirstate: sympy/plotting/pyglet/gl/glx.py!
not in dirstate: sympy/plotting/pyglet/gl/glx_info.py!
not in dirstate: sympy/plotting/pyglet/gl/glxext_arb.py!
not in dirstate: sympy/plotting/pyglet/gl/glxext_mesa.py!
not in dirstate: sympy/plotting/pyglet/gl/glxext_nv.py!
not in dirstate: sympy/plotting/pyglet/gl/lib.py!
not in dirstate: sympy/plotting/pyglet/gl/lib_agl.py!
not in dirstate: sympy/plotting/pyglet/gl/lib_glx.py!
not in dirstate: sympy/plotting/pyglet/gl/lib_wgl.py!
not in dirstate: sympy/plotting/pyglet/gl/wgl.py!
not in dirstate: sympy/plotting/pyglet/gl/wgl_info.py!
not in dirstate: sympy/plotting/pyglet/gl/wglext_arb.py!
not in dirstate: sympy/plotting/pyglet/gl/wglext_nv.py!
not in dirstate: sympy/plotting/pyglet/image/__init__.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/__init__.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/dds.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/gdiplus.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/gdkpixbuf2.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/pil.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/png.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/pypng.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/quicktime.py!
not in dirstate: sympy/plotting/pyglet/image/codecs/s3tc.py!
not in dirstate: sympy/plotting/pyglet/lib.py!
not in dirstate: sympy/plotting/pyglet/media/__init__.py!
not in dirstate: sympy/plotting/pyglet/media/avbin.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/__init__.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/alsa/__init__.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/alsa/asound.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/directsound/__init__.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/directsound/lib_dsound.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/openal/__init__.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/openal/lib_alc.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/openal/lib_openal.py!
not in dirstate: sympy/plotting/pyglet/media/drivers/silent.py!
not in dirstate: sympy/plotting/pyglet/media/procedural.py!
not in dirstate: sympy/plotting/pyglet/media/riff.py!
not in dirstate: sympy/plotting/pyglet/window/__init__.py!
not in dirstate: sympy/plotting/pyglet/window/carbon/__init__.py!
not in dirstate: sympy/plotting/pyglet/window/carbon/constants.py!
not in dirstate: sympy/plotting/pyglet/window/carbon/quartzkey.py!
not in dirstate: sympy/plotting/pyglet/window/carbon/types.py!
not in dirstate: sympy/plotting/pyglet/window/event.py!
not in dirstate: sympy/plotting/pyglet/window/key.py!
not in dirstate: sympy/plotting/pyglet/window/mouse.py!
not in dirstate: sympy/plotting/pyglet/window/win32/__init__.py!
not in dirstate: sympy/plotting/pyglet/window/win32/constants.py!
not in dirstate: sympy/plotting/pyglet/window/win32/types.py!
not in dirstate: sympy/plotting/pyglet/window/win32/winkey.py!
not in dirstate: sympy/plotting/pyglet/window/xlib/__init__.py!
not in dirstate: sympy/plotting/pyglet/window/xlib/cursorfont.py!
not in dirstate: sympy/plotting/pyglet/window/xlib/xinerama.py!
not in dirstate: sympy/plotting/pyglet/window/xlib/xlib.py!
$ hg st
$ hg vi
$ hg qimport -r tip
$ hg qrefresh -e
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
File "/usr/bin/hg", line 14, in ?
mercurial.dispatch.run()
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 348, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 401, in
_runcommand
return checkargs()
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 357, in
checkargs
return cmdfunc()
File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 340, in
<lambda>
d = lambda: func(ui, repo, *args, **cmdoptions)
File "/var/lib/python-support/python2.4/hgext/mq.py", line 1649, in refresh
ret = q.refresh(repo, pats, msg=message, **opts)
File "/var/lib/python-support/python2.4/hgext/mq.py", line 1048, in refresh
repo.dirstate.remove(f)
File "/var/lib/python-support/python2.4/mercurial/dirstate.py", line 247, in
remove
self._decpath(f)
File "/var/lib/python-support/python2.4/mercurial/dirstate.py", line 192, in
_decpath
if dirs[base] == 1:
KeyError: 'sympy/plotting/pyglet'
Not sure what all these means, but I think there is a bug somewhere, because
even if I did something bad, mercurial should report something meaningful,
instead of giving a stacktrace.
Ondrej
----------
messages: 4755
nosy: certik
priority: bug
status: unread
title: not in dirstate, unknown exception
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue904>
____________________________________________________
More information about the Mercurial-devel
mailing list