[issue1436] inotify extension breaks pull from bundle
Jesse Glick
mercurial-bugs at selenic.com
Fri Dec 12 14:13:45 CST 2008
New submission from Jesse Glick <jesse.glick at sun.com>:
In Hg 1.1 it seems that if the inotify extension is enabled, and you try to pull
from a bundle, Hg crashes:
$ hg pull -u hg.bundle
** 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)
** Extensions loaded: convert, extdiff, fetch, forest, graphlog, inotify, mq,
parentrevspec, patchbomb, purge, rdiff, shelve, transplant
Traceback (most recent call last):
File "/home/jglick/bin/hg", line 20, in <module>
mercurial.dispatch.run()
File "/home/jglick/lib/python/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/home/jglick/lib/python/mercurial/dispatch.py", line 29, in dispatch
return _runcatch(u, args)
File "/home/jglick/lib/python/mercurial/dispatch.py", line 45, in _runcatch
return _dispatch(ui, args)
File "/home/jglick/lib/python/mercurial/dispatch.py", line 367, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/home/jglick/lib/python/mercurial/dispatch.py", line 416, in _runcommand
return checkargs()
File "/home/jglick/lib/python/mercurial/dispatch.py", line 376, in checkargs
return cmdfunc()
File "/home/jglick/lib/python/mercurial/dispatch.py", line 361, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/home/jglick/lib/python/mercurial/util.py", line 715, in check
return func(*args, **kwargs)
File "/home/jglick/lib/python/mercurial/commands.py", line 2159, in pull
other = hg.repository(ui, source)
File "/home/jglick/lib/python/mercurial/hg.py", line 66, in repository
hook(ui, repo)
File "/home/jglick/lib/python/hgext/inotify/__init__.py", line 48, in reposetup
class inotifydirstate(repo.dirstate.__class__):
File "/home/jglick/lib/python/mercurial/bundlerepo.py", line 229, in __getattr__
raise AttributeError(name)
AttributeError: dirstate
----------
messages: 8183
nosy: jglick
priority: bug
status: unread
title: inotify extension breaks pull from bundle
topic: inotify
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1436>
____________________________________________________
More information about the Mercurial-devel
mailing list