-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Description
I keep on getting amazed by this app. I'm trying to use mercurial, I installed it by:
apt install python2 python2-dev gcc
pip2 install mercurial
It works! But then:
$ hg help
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/hg", line 41, in <module>
mercurial.util.setbinary(fp)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in __getattribute__
self._load()
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 96, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/util.py", line 33, in <module>
cachestat = platform.cachestat
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in __getattribute__
self._load()
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 96, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/data/data/com.termux/files/usr/lib/python2.7/site-packages/mercurial/posix.py", line 32, in <module>
oslink = os.link
AttributeError: 'module' object has no attribute 'link'
I'm not sure if I did something wrong, if it is Termux bug, Mercurial's, or if the fix would be a Mercurial package. Any help please?
Metadata
Metadata
Assignees
Labels
No labels