关于Mercurial 1.8.2的问题



我在Mac OSX 10.6上使用Mercurial 1.8.2有一个大问题我花了很长时间在很多项目上。现在我已经有4周没有使用了。今天我尝试了一下,OSX在"hg add"命令下崩溃了。

所以我搜索了一下,发现在OSX 10.5中有一个bug,我必须在终端首选项中停用SET LOCAL。

我已经这样做了-现在
Hg添加
Hg commit -m "message"

工作,但当我运行

我得到以下错误信息,我没有找到关于
的信息

** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)]
** Mercurial Distributed SCM (version 1.8.2+20110401)
** Extensions loaded: 
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 36, in dispatch
    return _runcatch(u, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 601, in _dispatch
    cmdpats, cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 406, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 655, in _runcommand
    return checkargs()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 609, in checkargs
    return cmdfunc()
  File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 598, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/Library/Python/2.6/site-packages/mercurial/util.py", line 433, in check
    return func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/mercurial/commands.py", line 3002, in push
    ui.status(_('pushing to %sn') % url.hidepassword(dest))
  File "/Library/Python/2.6/site-packages/mercurial/demandimport.py", line 75, in __getattribute__
    self._load()
  File "/Library/Python/2.6/site-packages/mercurial/demandimport.py", line 47, in _load
    mod = _origimport(head, globals, locals)
  File "/Library/Python/2.6/site-packages/mercurial/url.py", line 354, in <module>
    class httpconnection(keepalive.HTTPConnection):
  File "/Library/Python/2.6/site-packages/mercurial/demandimport.py", line 75, in __getattribute__
    self._load()
  File "/Library/Python/2.6/site-packages/mercurial/demandimport.py", line 47, in _load
    mod = _origimport(head, globals, locals)
  File "/Library/Python/2.6/site-packages/mercurial/keepalive.py", line 361, in <module>
    class HTTPResponse(httplib.HTTPResponse):
  File "/Library/Python/2.6/site-packages/mercurial/demandimport.py", line 76, in __getattribute__
    return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'HTTPResponse'

你有什么想法吗?

谢谢,Sascha

我认为你应该完全按照错误信息中所说的去做:

**遇到未知异常,请访问报告* * https://www.mercurial-scm.org/wiki/BugTracker

相关内容

  • 没有找到相关文章

最新更新