Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48815 closed defect (fixed)

py-hggit seems broken

Reported by: Themanwithoutaplan Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: easye
Port: py-hggit

Description

Something seems to have happened to hg-git extension for Mercurial. If the port is installed I cannot use Mercurial in the command line. This is a sample session and traceback.

(openpyxl)fuchsia:openpyxl charlieclark$ hg status openpyxl
*** failed to import extension hggit: No module named ignore
** Unbekannter Fehler - bitte melden auf:
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.10 (default, Aug 18 2015, 12:18:39) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]
** Mercurial Distributed SCM (Version 3.5-rc+12-a74e9806d17d)
** Erweiterungen geladen: strip, mq, rebase
Traceback (most recent call last):
  File "/opt/local/bin/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 30, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 92, in dispatch
    ret = _runcatch(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 163, in _runcatch
    return _dispatch(req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/dispatch.py", line 862, in _dispatch
    repo = hg.repository(ui, path=path)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/hg.py", line 136, in repository
    peer = _peerorrepo(ui, path, create)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/hg.py", line 123, in _peerorrepo
    obj = _peerlookup(path).instance(ui, path, create)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercurial/hg.py", line 93, in _peerlookup
    return thing(path)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hggit/__init__.py", line 84, in _local
    p = urlcls(path).localpath()
TypeError: 'NoneType' object is not callable

Change History (6)

comment:1 Changed 9 years ago by seanfarley (Sean Farley)

Owner: changed from macports-tickets@… to sean@…
Status: newassigned

Hmm, I'll take a look at this.

comment:2 Changed 9 years ago by seanfarley (Sean Farley)

I have some updates to push out today, so hopefully that will fix this issue.

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Cc: sean@… openmaintainer@… removed

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:4 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Ok, I just pushed some updates to mercurial and hg-git so this should fix your issue.

comment:5 in reply to:  3 Changed 9 years ago by Themanwithoutaplan

Replying to mf2k@…:

Please do not Cc openmaintainer@… because it is not a valid email address.

Noted.

comment:6 in reply to:  4 Changed 9 years ago by Themanwithoutaplan

Replying to sean@…:

Ok, I just pushed some updates to mercurial and hg-git so this should fix your issue.

Thanks, problems do seem resolved!

Note: See TracTickets for help on using tickets.