目次
文書の過去の版を表示しています。
TortoiseHg
インストール
$ sudo yum install tortoisehg tortoisehg-nautilus
起動
トラブルシューティング
何も表示されず起動もしない... orz
python から import してみる。
$ python Python 2.7.3 (default, Aug 9 2012, 17:23:57) [GCC 4.7.1 20120720 (Red Hat 4.7.1-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tortoisehg.hgqt.run TortoiseHg requires Qt 4.6 and PyQt 4.7 You have Qt 4.8.4 and PyQt 4.10
Qt や PyQt のバージョンチェックを修正して、無理やり動かす。(自己責任で!!)
$ sudo vi /usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtlib.py
if PYQT_VERSION_STR.split('.') < ['4', '10'] or \ QT_VERSION_STR.split('.') < ['4', '8']: sys.stderr.write('TortoiseHg requires Qt 4.8 and PyQt 4.10\n') sys.stderr.write('You have Qt %s and PyQt %s\n' % (QT_VERSION_STR, PYQT_VERSION_STR)) sys.exit()