Package Details: tortoisehg-hg 3.7.1.17982-1

Git Clone URL: https://aur.archlinux.org/tortoisehg-hg.git (read-only)
Package Base: tortoisehg-hg
Description: Mercurial GUI front end
Upstream URL: http://tortoisehg.bitbucket.org/
Licenses: GPL2
Conflicts: tortoisehg
Provides: tortoisehg
Submitter: Misery
Maintainer: anshumanb
Last Packager: anshumanb
Votes: 58
Popularity: 0.000421
First Submitted: 2008-04-14 22:22
Last Updated: 2016-03-04 12:48

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

anshumanb commented on 2016-03-04 12:56

This issue occurs because tags 3.7 and 3.7.1 point to the same changeset hence {latesttag} returns a colon-delimited list. I've updated pkgver to use the last tag from a list of tags -- a generic version of @biloucat's "cut" workaround.

Thank you @biloucat for bringing this to my attention and providing a workaround.

biloucat commented on 2016-03-02 10:25

pkgver() send error (in french)
==> ERREUR : pkgver ne peut pas contenir de deux-points, de tirets ou d’espaces.
==> ERREUR : pkgver() a généré une version non valide : 3.7:3.7.1.17981

for me, replacing:
echo $(hg parents --template {latesttag}).$(hg identify -n)
with:
echo $(hg parents --template {latesttag}|cut -d: -f2).$(hg identify -n)

do the trick

anshumanb commented on 2014-07-08 23:42

Got the same issue on upgrade today. Found this bug, https://bugs.archlinux.org/task/41103, through https://bbs.archlinux.org/viewtopic.php?pid=1433813. Rebuilt qscintilla and tortoisehg works fine for me now. Hope that helps!

Here's the latest qscintilla PKGBUILD: https://projects.archlinux.org/svntogit/packages.git/plain/qscintilla/trunk/PKGBUILD.

smradlev commented on 2014-07-06 12:25

With an up-to-date system (mercurial 3.0.2-1; python2-pyqt5 5.3.1-1; python2-pyqt4 4.11.1-1; python-qscintilla-common 2.8.3-2; python2-qscintilla 2.8.3-2; qt4 4.8.6-1), with tortoisehg-hg freshly rebuilt (3.0.1.16648-1), I get:


#!python
** Mercurial version (3.0.2). TortoiseHg version (3.0.1+14-c5d3ee1467e3)
** Command:
** CWD:
** Encoding: UTF-8
** Extensions loaded:
** Python version: 2.7.8 (default, Jul 1 2014, 17:30:21) [GCC 4.9.0 20140604 (prerelease)]
** System: Linux computer 3.15.3-1-ARCH #1 SMP PREEMPT Fri Jul 4 11:16:03 EDT 2014 x86_64
** Qt-4.8.6 PyQt-4.11.1 QScintilla-(unknown)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 50, in dispatch
return _runcatch(u, args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 229, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 317, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 368, in _runcommand
return checkargs()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 322, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 316, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args, **cmdoptions)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 338, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 402, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 518, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 844, in log
w = _workbench(ui, *pats, **opts)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/run.py", line 412, in _workbench
w = qtrun.createWorkbench()
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/qtapp.py", line 434, in createWorkbench
self._workbench = workbench.Workbench(self._ui, self._repomanager)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 102, in __getattribute__
self._load()
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 74, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/workbench.py", line 18, in <module>
from tortoisehg.hgqt.repowidget import RepoWidget
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repowidget.py", line 31, in <module>
from tortoisehg.hgqt.commit import CommitWidget
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/commit.py", line 18, in <module>
from tortoisehg.hgqt.messageentry import MessageEntry
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/messageentry.py", line 12, in <module>
from PyQt4.Qsci import QsciScintilla, QsciLexerMakefile
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 130, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
ImportError: /usr/lib/python2.7/site-packages/PyQt4/Qsci.so: undefined symbol: _ZTI11QsciPrinter

smradlev commented on 2013-03-09 01:28

I rebuilt it, and indeed now it works. Thanks a lot!

anshumanb commented on 2013-03-08 22:36

Just did a pacman -Syu and a rebuild of tortoisehg-hg thereafter. tortoisehg-hg 13736 with mercurial 2.5.2, python2-pyqt 4.10, python2-qscintilla 2.7.1 and qt4 4.8.4 works for me. This is on i686 but x86_64 should work too.

Didn't run into the issue myself, but maybe this commit https://bitbucket.org/tortoisehg/thg/commits/e571f9b3eadc2e2706bd350dab33d3bee5bf2315 , which was made quite recently, for issue https://bitbucket.org/tortoisehg/thg/issue/2467 fixed it?

barchiesi commented on 2013-03-08 11:27

@smradlev: Try rebuilding it now, I had the same issues and now it is working.

barchiesi commented on 2013-03-08 11:24

I confirm what smradlev says. I'm not getting anything at all at the cli, is there some way to enable more debugging?

smradlev commented on 2013-03-07 17:36

After upgrading from
python2-pyqt-4.9.6-2-x86_64.pkg.tar.xz
to
python2-pyqt-4.10-1-x86_64.pkg.tar.xz
thg no longer starts.

smradlev commented on 2013-03-07 17:33

After upgrading from
python2-pyqt-4.9.6-2-x86_64.pkg.tar.xz
to
python2-pyqt-4.10-1-x86_64.pkg.tar.xz
thg no longer starts. strace says:

stat("/usr/lib/python2.7/site-packages/hgext/os", 0x7fff7ab7adf0) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/hgext/os.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)

anshumanb commented on 2012-08-22 23:47

Updated. Thanks.

davidovitch commented on 2012-08-22 07:55

You can up the mercurial dependency again. tortoisehg 2.4.3 has been released and on my end toirtoisehg-hg 13112-1 works just fine with mercurial 2.3

anshumanb commented on 2012-08-07 13:14

I've pegged the mercurial revision (<2.3) for now.
(also cleaned up conflicts section and optdepends now has python2-nautilus instead of python-nautilus)

anshumanb commented on 2012-08-07 11:17

This PKGBUILD installs the stable branch, which has not been merged with the default branch in a while and does not have the version bump commit (https://bitbucket.org/tortoisehg/thg/changeset/351c64dfd286ea5c73a36a34050e1eca66ae230a) yet. We'll just have to wait till then (won't be too long hopefully). If this is blocking you, you can try one of:
1. Edit the file /usr/lib/python2.7/site-packages/tortoisehg/util/hgversion.py and perform the bump manually (this is what I've done)
2. Do the above in the PKGBUILD and install
3. Install the default branch instead

Anonymous comment on 2012-08-06 14:55

tortoisehg not work with mercurial-2.3-1


{{{
#!python
** Mercurial version (2.3). TortoiseHg version (2.4.1+26-27a55ca28910)
** Command:
** CWD: /home/{username}
** Encoding: UTF-8
** Extensions loaded:
** Python version: 2.7.3 (default, Apr 24 2012, 00:00:54) [GCC 4.7.0 20120414 (prerelease)]
** Qt-4.8.2 PyQt-4.9.4

This version of TortoiseHg requires Mercurial version 2.1.n to 2.2.n, but found 2.3

}}}

a1russell commented on 2012-03-20 18:46

@nesk2 That's the way the Arch packaging system works for version-control-system-based packages, such as this one that uses Mercurial (hg).

nesk_aur commented on 2012-03-20 17:16

Out of curiosity - what does 11708-1 stands for? Why not use official version number?

a1russell commented on 2012-02-02 17:46

@ProgDan It's there in optdepends.

Anonymous comment on 2012-02-02 17:43

Please add python2-iniparse to dependencies. Without this package it's not possible to modify application and repository settings.

samueldr commented on 2011-05-07 19:41

No, nothing seems wrong in your PKGBUILD, I only wanted to ask around before filing to see if anyone else had the same problems. Someone could also have had it fixed one way or another.

https://bugs.archlinux.org/task/24144
Seems the problem lies within qscintilla

a1russell commented on 2011-05-07 19:32

@samueldr I don't think it's anything I did in the PKGBUILD. You might have better luck filing a bug with one of the upstream projects. If there's something wrong with my PKGBUILD that you can see, please let me know.

samueldr commented on 2011-05-07 18:30

Even with the latest updated PKGBUILD, 11708-1, built as 11709-1, I have that qscintilla problem.

RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qsci module requires version -1

Full traceback:
http://pastebin.com/iUr7jn4i

Anonymous comment on 2011-05-07 05:59

python2-qt is now replaced with python2-pyqt

samueldr commented on 2011-05-07 01:09

With the latest updates that replaces python2-qt with python2-pyqt, the package (rebuild by changing for python2-pyqt dependency) will trace with :
RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qsci module requires version -1


It seems python2-qscintilla broke or something along the line.

Just a heads-up to anyone who wanted to update.

Anonymous comment on 2011-04-14 19:25

TortoiseHg doesn't detect external merge/diff tools like KDiff3.

This can be solved by adding

install -Dm 644 "contrib/mergetools.rc" "$pkgdir/etc/mercurial/hgrc.d/thgmergetools.rc"

at the end of package().

pkerwien commented on 2011-03-20 17:59

With the added config.py, this problem was solved. Thanks.

a1russell commented on 2011-03-20 17:50

Good catch! Most of the icons worked for me, but not that one. Let me know if you find any other problems.

pkerwien commented on 2011-03-20 17:15

Strange, so the About dialog is showing the thg logo without complaining 'icon not found thg_logo_92x50.png' in the terminal window?

a1russell commented on 2011-03-20 17:07

It works for me, pkerwien. Is this broken for anyone else? Do you have a suggested fix?

pkerwien commented on 2011-03-20 14:13

thg is looking for icons at the wrong location. It is using /usr/lib/python2.7/site-packages/icons while all icons are installed in /usr/share/pixmaps/tortoisehg/icons.

Anonymous comment on 2011-02-08 20:14

Just don't have enough time to mantain it any more. Sorry.

smoge commented on 2011-02-02 17:11

also the python2 change:
http://aur.pastebin.com/tXZ7Ub55

cheers!

smoge commented on 2011-02-02 17:06

It's python2-iniparse now.

intrepid commented on 2010-12-17 12:04

Please add dependency "python-qscintilla"

Anonymous comment on 2010-12-09 16:40

In addition to the two previous changes, you must change these lines:
python setup.py build || return 1
python setup.py install --root=$pkgdir || return 1

to:
python2 setup.py build || return 1
python2 setup.py install --root=$pkgdir || return 1

notizblock commented on 2010-11-23 21:06

please use python2-iniparse instead of python-iniparse:
https://aur.archlinux.org/packages.php?ID=43858

samueldr commented on 2010-05-01 17:22

I had to change the _hgroot var to
_hgroot="https://bitbucket.org/tortoisehg"

Because else the slash at the end would double-up and it didn't work, with message:
abort: 'https://bitbucket.org/tortoisehg//stable' does not appear to be an hg repository!