all dirs is not longer working in 4.3.2

Uwe Brauer oub at mat.ucm.es
Sun Oct 29 20:01:56 UTC 2017


>>> "Marcin" == Marcin Kasperski <Marcin.Kasperski at mekk.waw.pl> writes:


   > Could you try bisecting it a bit? At the very least, try disabling other
   > extensions and test whether it changes anything (and if some specific
   > causes the problem, let me know which one). And please make sure it's
   > indeed mercurial 4.3.2 in your python path…


I can't install 4.3.2 the ppa has changed to 4.4-rc

Bad news, I deactivated all extensions and

Hg --version

Works

I pull your latest commits (to be sure) activate the extension and
obtain when running

 hg --version
g --version
*** failed to import extension mercurial_all_dirs from ~/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py: <mercurial.cmdutil.command object at 0xb6d2ceac> is not a Python function
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.6 (default, Oct 26 2016, 20:32:47) [GCC 4.8.4]
** Mercurial Distributed SCM (version 4.4-rc)
** Extensions loaded:
Traceback (most recent call last):
  File "/usr/bin/hg", line 41, in <module>
    dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 85, in run
    status = (dispatch(req) or 0) & 255
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 173, in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 313, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 321, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 154, in callcatch
    return func()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 303, in _runcatchfunc
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 813, in _dispatch
    cmd, func, args, options, cmdoptions = _parse(lui, args)
  File "/home/oub/ALLES/src/mercurial-all_dirs/mercurial_all_dirs.py", line 174, in _parse
    except error.CommandError as e:
AttributeError: 'NoneType' object has no attribute 'CommandError'





More information about the Mercurial mailing list