I shelved some work using hg 1.6 a week ago.
Since then I updated to hg 1.7.
It's not completely surprising, but hg unshelve produced an exception
show below. It seems like the unshelve worked. That is, the patches\
I had in the attic now seem to be applied properly in my working
directory.
Hmm... it's not just unshelving an attic entry created with hg 1.6.
Shelving/unshelving entirely with hg 1.7 has the same exception.
** unknown exception encountered, please report by visiting
**
http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7 (r27:82500, Oct 18 2010, 21:16:09) [GCC 3.4.6 [FreeBSD]
20060305]
** Mercurial Distributed SCM (version 1.7)
** Extensions loaded: hgattic
Traceback (most recent call last):
File "usr/local/bin/hg-1.7", line 40, in <module>
mercurial.dispatch.run()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 36, in dispatch
return _runcatch(u, args)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 58, in _runcatch
return _dispatch(ui, args)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 590, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 401, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 641, in _runcommand
return checkargs()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 595, in checkargs
return cmdfunc()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 588, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py",
line 427, in check
return func(*args, **kwargs)
File "/usr/local/lib/python/site-packages/attic.py", line 621, in
unshelve
if s.apply(repo, name, sim, **opts):
File "/usr/local/lib/python/site-packages/attic.py", line 281, in
apply
force=force, **opts)
File "/usr/local/lib/python/site-packages/attic.py", line 260, in
_applymerge
applydiff('.saved')
File "/usr/local/lib/python/site-packages/attic.py", line 211, in
applydiff
patch.updatedir(self.ui, repo, files2, similarity=sim/100.)
AttributeError: 'module' object has no attribute 'updatedir'