#47681: `hg status' crashes on newly created repository --------------------------+-------------------------------- Reporter: veedeehjay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: mercurial --------------------------+-------------------------------- this happens with mercurial@3.3.3 under OSX 10.10.3. the following should reproducibly crash if the `hggit'` is requested in `~/.hgrc` {{{ mkdir new cd new hg init hg status }}} with the message: {{{ ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.7.9 (default, Dec 13 2014, 15:13:49) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] ** Mercurial Distributed SCM (version 3.3.3) ** Extensions loaded: convert, rebase, fetch, graphlog, extdiff, hgk, color, hgsubversion, hggit, churn, pager, strip, mq, transplant Traceback (most recent call last): File "/opt/local/bin/hg", line 43, in <module> ... LOTS MORE ... File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/mercurial/scmutil.py", line 1105, in finddirs pos = path.rfind('/') AttributeError: 'tuple' object has no attribute 'rfind' }}} two observations: 1. without the `hggit` extension the problem goes away here 2. using the `mercurial-devel` instead of the`mercurial` port also makes the problem go away even in the presence of `hggit`. whether it's a problem of mercurial or the `py-hggit` port I canot say... -- Ticket URL: <https://trac.macports.org/ticket/47681> MacPorts <https://www.macports.org/> Ports system for OS X