Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 12:06:40 +0200 (CEST)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161705: devel/tortoisehg1: does not work with current devel/mercurial
Message-ID:  <20111016100641.0691828468@snail.stack.nl>
Resent-Message-ID: <201110161010.p9GAA8b7059226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161705
>Category:       ports
>Synopsis:       devel/tortoisehg1: does not work with current devel/mercurial
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 10:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jilles Tjoelker
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
tortoisehg-1.1.10
mercurial-1.9.1
>Description:
As noted on
https://bitbucket.org/tortoisehg/thg/wiki/ReleaseNotes#!matching-versions
tortoisehg-1.1.10 and mercurial-1.9.1 are not a recommended combination.
In practice, tortoisehg indeed fails to start at all.

When trying 'hgtk log', the following error message results:

Traceback (most recent call last):
  File "/usr/local/bin/hgtk", line 57, in <module>
    from tortoisehg.hgtk.hgtk import gtkrun
  File "/usr/local/lib/python2.7/site-packages/mercurial/demandimport.py", line 109, in _demandimport
    mod = _origimport(name, globals, locals)
  File "/usr/local/lib/python2.7/site-packages/tortoisehg/hgtk/hgtk.py", line 744, in <module>
    _('repository root directory or symbolic path name')),
  File "/usr/local/lib/python2.7/site-packages/tortoisehg/util/i18n.py", line 73, in agettext
    return hglib.fromutf(u)
  File "/usr/local/lib/python2.7/site-packages/mercurial/demandimport.py", line 75, in __getattribute__
    self._load()
  File "/usr/local/lib/python2.7/site-packages/mercurial/demandimport.py", line 47, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/local/lib/python2.7/site-packages/tortoisehg/util/hglib.py", line 21, in <module>
    from mercurial.patch import updatedir
ImportError: cannot import name updatedir
>How-To-Repeat:
% hgtk log

The same error appears to result whether the current directory is in a
Mercurial repository or not.
>Fix:
If there is no workaround, remove the port.
People should use devel/tortoisehg2 instead.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111016100641.0691828468>