thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-06-21T10:27:48Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/2394AttributeError: 'FileRevModel' object has no attribute 'timerHandle'2020-06-21T10:27:48ZBitbucket ImporterAttributeError: 'FileRevModel' object has no attribute 'timerHandle'*Created originally on Bitbucket by [dsupiev (Daniyar Supiev)](https://bitbucket.org/%7Bf7238076-ba27-48f0-bbdf-8fde01a97532%7D/)*
#!python
** Mercurial version (2.4.2). TortoiseHg version (2.6.2)
** Command: --new
*...*Created originally on Bitbucket by [dsupiev (Daniyar Supiev)](https://bitbucket.org/%7Bf7238076-ba27-48f0-bbdf-8fde01a97532%7D/)*
#!python
** Mercurial version (2.4.2). TortoiseHg version (2.6.2)
** Command: --new
** CWD: C:\Windows
** Encoding: cp1251
** Extensions loaded:
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
File "tortoisehg\hgqt\repomodel.pyo", line 258, in timerEvent
AttributeError: 'FileRevModel' object has no attribute 'timerHandle'
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4735AttributeError: 'function' object has no attribute 'norepo'2020-06-21T11:05:32ZBitbucket ImporterAttributeError: 'function' object has no attribute 'norepo'*Created originally on Bitbucket by [dronlinux (Андрей Порядин)](https://bitbucket.org/%7Bdf9fcd91-17a8-4feb-a4e4-130b302a3506%7D/)*
Hello, everybody.
I installed thg 4.1.2 x64(before that i use thg 4.0.2) on my Windows 7 Pro x64. GU...*Created originally on Bitbucket by [dronlinux (Андрей Порядин)](https://bitbucket.org/%7Bdf9fcd91-17a8-4feb-a4e4-130b302a3506%7D/)*
Hello, everybody.
I installed thg 4.1.2 x64(before that i use thg 4.0.2) on my Windows 7 Pro x64. GUI is ok.
But, also, on same machine I have Redmine 3.3 installed for projects working on mercurial.
With **thg 4.1.2 x64** Redmine cannot work with repos. Here is error:
```
#!text
hg -R "D:\WORK\SQL\BIS" --encoding utf-8 --config extensions.redminehelper=D:/Bitnami/redmine/apps/redmine/htdocs/lib/redmine/scm/adapters/mercurial/redminehelper.py --config diff.git=false rhmanifest -r tip ""
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/Mekk/mercurial_keyring/issues
** Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.1.1)
** Extensions loaded: mercurial_keyring, largefiles, zipdoc, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch, redminehelper
Traceback (most recent call last):
File "hg", line 49, in <module>
File "mercurial\dispatch.pyo", line 63, in run
File "mercurial\dispatch.pyo", line 129, in dispatch
File "mercurial\dispatch.pyo", line 219, in _runcatch
File "mercurial\dispatch.pyo", line 227, in callcatch
File "mercurial\scmutil.pyo", line 152, in callcatch
File "mercurial\dispatch.pyo", line 208, in _runcatchfunc
File "mercurial\dispatch.pyo", line 811, in _dispatch
File "mercurial\dispatch.pyo", line 563, in runcommand
File "mercurial\dispatch.pyo", line 819, in _runcommand
File "mercurial\dispatch.pyo", line 808, in <lambda>
File "mercurial\util.pyo", line 1051, in check
File "mercurial\commands.pyo", line 5827, in serve
File "mercurial\server.pyo", line 110, in runservice
File "mercurial\commandserver.pyo", line 340, in run
File "mercurial\commandserver.pyo", line 293, in serve
File "mercurial\commandserver.pyo", line 268, in serveone
File "mercurial\commandserver.pyo", line 251, in runcommand
File "mercurial\dispatch.pyo", line 129, in dispatch
File "mercurial\dispatch.pyo", line 219, in _runcatch
File "mercurial\dispatch.pyo", line 227, in callcatch
File "mercurial\scmutil.pyo", line 152, in callcatch
File "mercurial\dispatch.pyo", line 208, in _runcatchfunc
File "mercurial\extensions.pyo", line 223, in closure
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 761, in _dispatch
AttributeError: 'function' object has no attribute 'norepo'
cmdserver: process exited unexpectedly with code 255
```
Please help.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3766AttributeError: httpsconnection instance has no attribute '_set_hostport'2020-06-21T10:44:47ZBitbucket ImporterAttributeError: httpsconnection instance has no attribute '_set_hostport'*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.9.2). TortoiseHg version (2.11)
** Command: --nofork
** CWD: /home/alex/dev/Linux
** Encoding: UTF-8
** Extensions loaded: mer...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.9.2). TortoiseHg version (2.11)
** Command: --nofork
** CWD: /home/alex/dev/Linux
** Encoding: UTF-8
** Extensions loaded: mercurial_keyring
** Python version: 2.7.7rc1 (default, May 21 2014, 11:15:30) [GCC 4.8.2]
** System: Linux ale-debian 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64
** Qt-4.8.6 PyQt-4.10.4 QScintilla-2.8.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thread.py", line 287, in run
self.ret = hglib.dispatch(ui, self.cmdline) or 0
File "/usr/lib/python2.7/dist-packages/tortoisehg/util/hglib.py", line 711, in dispatch
return hgdispatch._dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 810, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 590, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 901, in _runcommand
return checkargs()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 872, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 807, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 511, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 3901, in incoming
return hg.incoming(ui, repo, source, opts)
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 554, in incoming
return _incoming(display, subreporecurse, ui, repo, source, opts)
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 510, in _incoming
other = peer(repo, opts, source)
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 129, in peer
return _peerorrepo(rui, path, create).peer()
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 106, in _peerorrepo
obj = _peerlookup(path).instance(ui, path, create)
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 238, in instance
inst._fetchcaps()
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 57, in _fetchcaps
self.caps = set(self._call('capabilities').split())
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 171, in _call
fp = self._callstream(cmd, **args)
File "/usr/lib/python2.7/dist-packages/mercurial/httppeer.py", line 118, in _callstream
resp = self.urlopener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 372, in https_open
return self.do_open(self._makeconnection, req)
File "/usr/lib/python2.7/dist-packages/mercurial/keepalive.py", line 254, in do_open
self._start_transaction(h, req)
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 358, in _start_transaction
return keepalive.KeepAliveHandler._start_transaction(self, h, req)
File "/usr/lib/python2.7/dist-packages/mercurial/keepalive.py", line 352, in _start_transaction
h.endheaders()
File "/usr/lib/python2.7/httplib.py", line 991, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 844, in _send_output
self.send(msg)
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 144, in _sendfile
orgsend(self, data)
File "/usr/lib/python2.7/dist-packages/mercurial/keepalive.py", line 532, in safesend
self.connect()
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 342, in connect
_generic_proxytunnel(self)
File "/usr/lib/python2.7/dist-packages/mercurial/url.py", line 228, in _generic_proxytunnel
self._set_hostport(self.host, self.port)
AttributeError: httpsconnection instance has no attribute '_set_hostport'
alex@ale-debian:~/dev/Linux$ python -V
Python 2.7.7rc1
(jessie/sid debian)
Context: just using a local proxy (cntlm) in localhost to reach my repository like usually (through https).
Seems I've not set the port somewhere, but there was no need since then.
I've also deactivated mercurial_keyring, think it could be the issue, but it wasn't the case.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3526AttributeError: 'httpspeer' object has no attribute 'statlfile'2020-06-21T10:39:41ZBitbucket ImporterAttributeError: 'httpspeer' object has no attribute 'statlfile'*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.8.1). TortoiseHg version (2.10.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: largefile...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.8.1). TortoiseHg version (2.10.1)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: largefiles
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.4 PyQt-4.10.2 QScintilla-2.7.2
Traceback (most recent call last):
File "tortoisehg\hgqt\thread.pyo", line 269, in run
File "tortoisehg\util\hglib.pyo", line 708, in dispatch
File "mercurial\dispatch.pyo", line 806, in _dispatch
File "mercurial\dispatch.pyo", line 585, in runcommand
File "mercurial\dispatch.pyo", line 897, in _runcommand
File "mercurial\dispatch.pyo", line 868, in checkargs
File "mercurial\dispatch.pyo", line 803, in <lambda>
File "mercurial\util.pyo", line 512, in check
File "mercurial\extensions.pyo", line 151, in wrap
File "mercurial\util.pyo", line 512, in check
File "hgext\largefiles\overrides.pyo", line 325, in overrideupdate
File "mercurial\util.pyo", line 512, in check
File "mercurial\commands.pyo", line 5878, in update
File "mercurial\hg.pyo", line 473, in clean
File "mercurial\extensions.pyo", line 196, in wrap
File "hgext\largefiles\overrides.pyo", line 699, in hgupdaterepo
File "hgext\largefiles\lfcommands.pyo", line 478, in updatelfiles
File "hgext\largefiles\lfcommands.pyo", line 409, in cachelfiles
File "hgext\largefiles\basestore.pyo", line 64, in get
File "hgext\largefiles\remotestore.pyo", line 33, in exists
File "hgext\largefiles\wirestore.pyo", line 36, in _stat
File "mercurial\wireproto.pyo", line 60, in submit
AttributeError: 'httpspeer' object has no attribute 'statlfile'
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/97"AttributeError" in adding a file from Windows Explorer menu2020-11-24T22:59:22ZBitbucket Importer"AttributeError" in adding a file from Windows Explorer menu*Created originally on Bitbucket by [marutosi (Toshi MARUYAMA)](https://bitbucket.org/%7B8b2953f5-8dde-4e99-acb6-7be12b73a284%7D/)*
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial ver...*Created originally on Bitbucket by [marutosi (Toshi MARUYAMA)](https://bitbucket.org/%7B8b2953f5-8dde-4e99-acb6-7be12b73a284%7D/)*
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial version (1.7.2). TortoiseHg version (1.9.1+284-1482f9a458f3)
** Command: --nofork add --listfile C:\Users\xxxxx\AppData\Local\Temp\THG1BB0.tmp
** CWD: R:\work\hg-workdir\redmine-my-work
** Extensions loaded: convert, graphlog, extdiff, bookmarks, rebase, purge, mq, transplant, patchbomb
** Python version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
** Windows version: (6, 0, 6002, 2, 'Service Pack 2')
** Processor architecture: x86
** Qt-4.6.2 PyQt-4.7.3
Traceback (most recent call last):
File "C:\WEB-DOWN\thg-winbuild\tortoisehg\tortoisehg\hgqt\run.py", line 456, in __call__
dlg = dlgfunc(ui, *args, **opts)
File "C:\WEB-DOWN\thg-winbuild\tortoisehg\tortoisehg\hgqt\quickop.py", line 185, in run
return QuickOpDialog(repo, command, pats, None)
File "C:\WEB-DOWN\thg-winbuild\tortoisehg\tortoisehg\hgqt\quickop.py", line 101, in __init__
stwidget.restoreState(s.value('quickop/state').toByteArray())
AttributeError: 'StatusWidget' object has no attribute 'restoreState'
}}}
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/251AttributeError in Shelve Dialog2020-06-21T09:44:04ZBitbucket ImporterAttributeError in Shelve Dialog*Created originally on Bitbucket by [mrh1997](https://bitbucket.org/%7B268f3edb-3bfc-4d30-bf9f-69183727a159%7D/)*
When moving a chunk from an unapplied patch to working directory AttributeError is thrown:
{{{
#!python
** Please rep...*Created originally on Bitbucket by [mrh1997](https://bitbucket.org/%7B268f3edb-3bfc-4d30-bf9f-69183727a159%7D/)*
When moving a chunk from an unapplied patch to working directory AttributeError is thrown:
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial version (1.8). TortoiseHg version (2.0)
** Command:
** CWD: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\TortoiseHg
** Extensions loaded: fixfrozenexts, fetch, extdiff, clean, mq
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (6, 1, 7601, 2, 'Service Pack 1')
** Processor architecture: x86
** Qt-4.7.1 PyQt-4.8.2
Traceback (most recent call last):
File "tortoisehg\hgqt\chunks.pyo", line 93, in timerEvent
AttributeError: 'ChunksWidget' object has no attribute 'mtime'
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4377AttributeError 'mergestate' object has no attribute '_state'2020-06-21T10:57:50ZBitbucket ImporterAttributeError 'mergestate' object has no attribute '_state'*Created originally on Bitbucket by [mschriefel (Michael Schriefel)](https://bitbucket.org/%7Bfd968e32-6340-4f2f-8d05-a0e513d66e54%7D/)*
Hi all,
after upgrading both mercurial and tortoisehg from 3.6 to 3.6.1 I'm facing this error wh...*Created originally on Bitbucket by [mschriefel (Michael Schriefel)](https://bitbucket.org/%7Bfd968e32-6340-4f2f-8d05-a0e513d66e54%7D/)*
Hi all,
after upgrading both mercurial and tortoisehg from 3.6 to 3.6.1 I'm facing this error when changing to the commit view with ALT + 2:
#!python
** Mercurial version (3.6.1+241-61fbf5dc12b2). TortoiseHg version (3.6.1)
** Command:
** CWD: /home/schriefel
** Encoding: UTF-8
** Extensions loaded: mercurial_keyring, fetch, rebase
** Python version: 2.7.5 (default, Jun 24 2015, 00:41:19) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
** System: Linux localhost.localdomain 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64
** Qt-4.8.5 PyQt-4.10.1 QScintilla-2.8
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 394, in reloadComplete
self.refthread.patchecked)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 427, in updateModel
checkable=self.checkable, defcheck=self.defcheck)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 756, in __init__
rows.append(mkrow(u, '?'))
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/status.py", line 717, in mkrow
mst = fname in ms and ms[fname].upper() or ""
File "/usr/lib64/python2.7/site-packages/mercurial/merge.py", line 383, in __contains__
return dfile in self._state
AttributeError: 'mergestate' object has no attribute '_state'
This error shows with any repository I try.
Any hints as to wjhat is going wrong here? I'm on CentOS 7. Retrieving Status with hg diff in a terminal works without problems.
Kind regards
Michael
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5145AttributeError missing get on GeneratorContextManager when dragging file over...2020-06-21T11:14:04ZBitbucket ImporterAttributeError missing get on GeneratorContextManager when dragging file over window*Created originally on Bitbucket by Anonymous*
I was dragging a README.md file in the root of a hg repository from a Windows explorer window to an IntelliJ IDEA window on a Windows 7 x64 machine, and the drag process went over the Torto...*Created originally on Bitbucket by Anonymous*
I was dragging a README.md file in the root of a hg repository from a Windows explorer window to an IntelliJ IDEA window on a Windows 7 x64 machine, and the drag process went over the Tortoise window. I wasn't "using" Tortoise at the time, I was just dragging over it. I'm not sure which part of the window I was over when the bug report showed up.
```
#!python
** Mercurial version (4.6). TortoiseHg version (4.6)
** Command: --nofork workbench
** CWD: C:\a_source\pao-default
** Encoding: cp1252
** Extensions loaded: rebase, strip, convert, share, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 722, in dragEnterEvent
File "tortoisehg\hgqt\repowidget.pyo", line 712, in detectPatches
AttributeError: 'GeneratorContextManager' object has no attribute 'get'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/629AttributeError: 'module' object has no attribute 'hidepassword'2020-06-21T09:52:02ZBitbucket ImporterAttributeError: 'module' object has no attribute 'hidepassword'*Created originally on Bitbucket by [johansamyn (Johan Samyn)](https://bitbucket.org/%7B9c10eb3e-883d-43e9-988f-cdc051634361%7D/)*
I updated the Hg source repo I'm working from to <<e83ced8b6464>>, and TortoiseHg to <<08d1a86c2dc3>>. Wh...*Created originally on Bitbucket by [johansamyn (Johan Samyn)](https://bitbucket.org/%7B9c10eb3e-883d-43e9-988f-cdc051634361%7D/)*
I updated the Hg source repo I'm working from to <<e83ced8b6464>>, and TortoiseHg to <<08d1a86c2dc3>>. Which got me the following traceback when trying a pull from Workbench, or trying to go to the Sync task tab (or changing repo tab to a repo which had the sync tab as the default task tab):
{{{
#!python
** Mercurial version (1.8+2-da192c62f89e). TortoiseHg version (2.0.3+192-08d1a86c2dc3)
** Command: workbench
** CWD: M:\DEV\thg-qt
** Extensions loaded: patchbomb, graphlog, mq, pbranch, rebase
** Python version: 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
** Windows version: (6, 1, 7601, 2, 'Service Pack 1')
** Processor architecture: x86
** Qt-4.6.2 PyQt-4.7.3
Traceback (most recent call last):
File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 877, in showEvent
self.get()
File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 889, in get
self._widget = func()
File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 278, in createSyncWidget
sw = SyncWidget(self.repo, self)
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 273, in __init__
self.reload()
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 353, in reload
tm = PathsModel(self.paths.items(), self)
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 1349, in __init__
safepath = url.hidepassword(path)
File "M:\DEV\hg-default\mercurial\demandimport.py", line 76, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'hidepassword'
Traceback (most recent call last):
File "M:\DEV\thg-qt\tortoisehg\hgqt\workbench.py", line 648, in forwarder
getattr(w, name)()
File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 886, in pull
self.syncDemand.get().pull()
File "M:\DEV\thg-qt\tortoisehg\hgqt\qtlib.py", line 889, in get
self._widget = func()
File "M:\DEV\thg-qt\tortoisehg\hgqt\repowidget.py", line 278, in createSyncWidget
sw = SyncWidget(self.repo, self)
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 273, in __init__
self.reload()
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 353, in reload
tm = PathsModel(self.paths.items(), self)
File "M:\DEV\thg-qt\tortoisehg\hgqt\sync.py", line 1349, in __init__
safepath = url.hidepassword(path)
File "M:\DEV\hg-default\mercurial\demandimport.py", line 76, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'hidepassword'
}}}
When I update the Hg source repo back to where it was before the pull -update (cset <<98f79a5c3086>>), everything works fine again.
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1718AttributeError: 'module' object has no attribute 'is_unc_path'2020-06-21T10:14:01ZBitbucket ImporterAttributeError: 'module' object has no attribute 'is_unc_path'*Created originally on Bitbucket by [sainth (Tobias Wink)](https://bitbucket.org/%7B5a866610-73b6-4d46-a250-553bfd5c91be%7D/)*
{{{
#!python
** Mercurial version (2.1.1). TortoiseHg version (2.3.1+2-1f0427754f88)
** Command:
** CWD...*Created originally on Bitbucket by [sainth (Tobias Wink)](https://bitbucket.org/%7B5a866610-73b6-4d46-a250-553bfd5c91be%7D/)*
{{{
#!python
** Mercurial version (2.1.1). TortoiseHg version (2.3.1+2-1f0427754f88)
** Command:
** CWD: /home/sainth/tortoisehg
** Encoding: UTF-8
** Extensions loaded: rebase
** Python version: 2.7.2 (default, Jan 31 2012, 13:19:49) [GCC 4.6.2 20120120 (prerelease)]
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreemodel.py", line 158, in data
return item.data(index.column(), role)
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreeitem.py", line 193, in data
if paths.is_unc_path(self.rootpath()):
AttributeError: 'module' object has no attribute 'is_unc_path'
Traceback (most recent call last):
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreemodel.py", line 158, in data
return item.data(index.column(), role)
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreeitem.py", line 193, in data
if paths.is_unc_path(self.rootpath()):
AttributeError: 'module' object has no attribute 'is_unc_path'
Traceback (most recent call last):
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreemodel.py", line 158, in data
return item.data(index.column(), role)
File "/home/sainth/tortoisehg/tortoisehg/hgqt/repotreeitem.py", line 193, in data
if paths.is_unc_path(self.rootpath()):
AttributeError: 'module' object has no attribute 'is_unc_path'
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3942AttributeError: 'module' object has no attribute 'load'2020-06-21T10:48:30ZBitbucket ImporterAttributeError: 'module' object has no attribute 'load'*Created originally on Bitbucket by [marcelloceschia](https://bitbucket.org/%7B56487633-29b6-4ba1-b509-ca00776dba5f%7D/)*
with latest version of mercurial and hgsubversion i get an exception
```
#!bash
** Unknown exception encountere...*Created originally on Bitbucket by [marcelloceschia](https://bitbucket.org/%7B56487633-29b6-4ba1-b509-ca00776dba5f%7D/)*
with latest version of mercurial and hgsubversion i get an exception
```
#!bash
** Unknown exception encountered with possibly-broken third-party extension hgsubversion
** which supports versions unknown of Mercurial.
** Please disable hgsubversion and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.6 (default, Nov 21 2013, 15:55:38) [GCC]
** Mercurial Distributed SCM (version 3.1.2)
** Extensions loaded: hgsubversion, strip, mq, acl
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 69, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 138, in _runcatch
return _dispatch(req)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 839, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 600, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 930, in _runcommand
return checkargs()
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 901, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 836, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 151, in wrap
util.checksignature(origfn), *args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/hgext/mq.py", line 3391, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 151, in wrap
util.checksignature(origfn), *args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/local/src/hgsubversion/hgsubversion/wrappers.py", line 682, in generic
return orig(ui, repo, *args, **opts)
File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 4700, in pull
modheads = repo.pull(other, heads=revs, force=opts.get('force'))
File "/usr/local/src/hgsubversion/hgsubversion/svnrepo.py", line 78, in wrapper
return fn(self, *args, **opts)
File "/usr/local/src/hgsubversion/hgsubversion/svnrepo.py", line 110, in pull
return wrappers.pull(self, remote, heads, force)
File "/usr/local/src/hgsubversion/hgsubversion/wrappers.py", line 397, in pull
meta = repo.svnmeta(svn.uuid, svn.subdir)
File "/usr/local/src/hgsubversion/hgsubversion/svnrepo.py", line 117, in svnmeta
return svnmeta.SVNMeta(self, uuid, subdir, skiperrorcheck)
File "/usr/local/src/hgsubversion/hgsubversion/svnmeta.py", line 32, in __init__
self.uuid = uuid
File "/usr/local/src/hgsubversion/hgsubversion/svnmeta.py", line 197, in _set_uuid
stored_uuid = util.load(uuidfile)
File "/usr/local/src/hgsubversion/hgsubversion/util.py", line 169, in load
data = _convert(json.load(f), _descrub)
File "/usr/lib/python2.7/site-packages/mercurial/demandimport.py", line 107, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'load'
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/4298AttributeError: 'module' object has no attribute '_vendor'2020-06-21T10:56:14ZBitbucket ImporterAttributeError: 'module' object has no attribute '_vendor'*Created originally on Bitbucket by [allanlaal (Allan Laal)](https://bitbucket.org/%7B8498007a-26e2-4b3d-8069-7b095185c14b%7D/)*
#!python
** Mercurial version (3.0.1). TortoiseHg version (3.0)
** Command: log
** CWD:...*Created originally on Bitbucket by [allanlaal (Allan Laal)](https://bitbucket.org/%7B8498007a-26e2-4b3d-8069-7b095185c14b%7D/)*
#!python
** Mercurial version (3.0.1). TortoiseHg version (3.0)
** Command: log
** CWD: /afs/devices/L3/home/allan
** Encoding: UTF-8
** Extensions loaded:
** Python version: 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
** System: Linux L4 3.16.0-49-generic #65~14.04.1-Ubuntu SMP Wed Sep 9 10:03:23 UTC 2015 x86_64
** Qt-4.8.6 PyQt-4.10.4 QScintilla-2.8.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/commit.py", line 549, in fileDisplayed
lexer = guess_lexer_for_filename(wfile, contents)
File "/usr/lib/python2.7/dist-packages/pygments/lexers/__init__.py", line 172, in guess_lexer_for_filename
for lexer in _iter_lexerclasses():
File "/usr/lib/python2.7/dist-packages/pygments/lexers/__init__.py", line 149, in _iter_lexerclasses
for lexer in find_plugin_lexers():
File "/usr/lib/python2.7/dist-packages/pygments/plugin.py", line 52, in find_plugin_lexers
for entrypoint in pkg_resources.iter_entry_points(LEXER_ENTRY_POINT):
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 102, in __getattribute__
self._load()
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 74, in _load
mod = _hgextimport(_import, head, globals, locals, None, level)
File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 43, in _hgextimport
return importfunc(name, globals, *args)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 90, in <module>
packaging = pkg_resources._vendor.packaging
AttributeError: 'module' object has no attribute '_vendor'
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/829AttributeError: 'NoneType' object has no attribute2020-06-21T09:56:07ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute*Created originally on Bitbucket by [smchatman (Stephen Chatman)](https://bitbucket.org/%7B80b09f23-8b6e-48a0-ba8c-98a2019772f9%7D/)*
{{{
#!python
** Mercurial version (1.8.4). TortoiseHg version (2.0.5)
** Command:
** CWD: h:\
*...*Created originally on Bitbucket by [smchatman (Stephen Chatman)](https://bitbucket.org/%7B80b09f23-8b6e-48a0-ba8c-98a2019772f9%7D/)*
{{{
#!python
** Mercurial version (1.8.4). TortoiseHg version (2.0.5)
** Command:
** CWD: h:\
** Extensions loaded: fixfrozenexts
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
** Processor architecture: x86
** Qt-4.7.1 PyQt-4.8.3
Traceback (most recent call last):
File "tortoisehg\hgqt\filelistmodel.pyo", line 51, in toggleFullFileList
File "tortoisehg\hgqt\filelistmodel.pyo", line 159, in loadFiles
File "tortoisehg\hgqt\filelistmodel.pyo", line 117, in _buildDesc
AttributeError: 'NoneType' object has no attribute 'files'
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/225AttributeError: 'NoneType' object has no attribute 'group'2020-06-21T09:43:32ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'group'*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial version (1.8). TortoiseHg version (2.0)
** Command: --nofork workbench
** CWD: C:\Users\mi...*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
** Mercurial version (1.8). TortoiseHg version (2.0)
** Command: --nofork workbench
** CWD: C:\Users\michael\Documents\Visual Studio 2010\Projects\Ab Cd Efghij
** Extensions loaded: fixfrozenexts
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Windows version: (6, 1, 7601, 2, 'Service Pack 1')
** Processor architecture: x64
** Qt-4.7.1 PyQt-4.8.2
Traceback (most recent call last):
File "tortoisehg\hgqt\sync.pyo", line 520, in saveclicked
File "tortoisehg\hgqt\sync.pyo", line 973, in __init__
File "tortoisehg\hgqt\sync.pyo", line 37, in parseurl
AttributeError: 'NoneType' object has no attribute 'group'
}}}
Was trying to add a Remote Repository to a very recently created project using ssh:
{{{
hostname: ssh://hg3.xp-dev.com/
port: (blank)
path: ABCdefg (not the actual name, but cased the same
}}}
The line specifying remote repository had:
Remote Repository: {{{ssh://ssh://hg3.xp-dev.com//ABCdefg}}}
Changing the hostname entry to - hg3.xp-dev.com - resolved the issue. It's more a user error than anything else, but either trimming those characters or providing a more intuitive error message would be helpful. Thanks for the excellent work!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/342AttributeError: 'NoneType' object has no attribute 'insertChild' on Regstry r...2020-06-21T09:45:51ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'insertChild' on Regstry reordering*Created originally on Bitbucket by [edbrannin (Ed Brannin)](https://bitbucket.org/%7B793dead3-e288-4f89-a0d3-8cee9bffdc09%7D/)*
I got this error while changing the order of repositories in a new Repository Registry group. I think I ha...*Created originally on Bitbucket by [edbrannin (Ed Brannin)](https://bitbucket.org/%7B793dead3-e288-4f89-a0d3-8cee9bffdc09%7D/)*
I got this error while changing the order of repositories in a new Repository Registry group. I think I had dragged one a little too far down the list and dropped it into whitespace.
{{{
#!python
** Mercurial version (1.8.1). TortoiseHg version (2.0.2)
** Command: --nofork workbench
** CWD: C:\Users\u0100661\Desktop
** Extensions loaded: fixfrozenexts, patchbomb, eol, review, mq, hgbb
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
** Windows version: (6, 1, 7600, 2, '')
** Processor architecture: x64
** Qt-4.7.1 PyQt-4.8.2
Traceback (most recent call last):
File "tortoisehg\hgqt\repotreemodel.pyo", line 184, in dropMimeData
AttributeError: 'NoneType' object has no attribute 'insertChild'
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3740AttributeError: 'NoneType' object has no attribute 'islocalrepo'2020-06-21T10:44:18ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'islocalrepo'*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (3.0+3). TortoiseHg version (3.0)
** Command: --nofork workbench
** CWD: C:\Users\Jeff\Desktop
** Encoding: cp1252
** Extensions ...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (3.0+3). TortoiseHg version (3.0)
** Command: --nofork workbench
** CWD: C:\Users\Jeff\Desktop
** Encoding: cp1252
** Extensions loaded: churn, gpg, graphlog, rebase, convert, hgk
** Python version: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.5 PyQt-4.10.3 QScintilla-2.7.2
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 679, in openRepo
File "tortoisehg\hgqt\thgrepo.pyo", line 539, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 57, in repository
File "mercurial\hg.pyo", line 119, in repository
File "mercurial\hg.pyo", line 106, in _peerorrepo
File "mercurial\hg.pyo", line 80, in _peerlookup
File "C:/Library/hg/hgsubversion\hgsubversion\__init__.py", line 185, in _lookup
AttributeError: 'NoneType' object has no attribute 'islocalrepo'
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/3695AttributeError: 'NoneType' object has no attribute 'parent'2020-06-21T10:43:17ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'parent'*Created originally on Bitbucket by [simon_armstrong (Simon Armstrong)](https://bitbucket.org/%7Ba6a8f3a7-106a-403e-b83e-2d749510b4eb%7D/)*
Just received the following error when trying to remove a repository from the repository registr...*Created originally on Bitbucket by [simon_armstrong (Simon Armstrong)](https://bitbucket.org/%7Ba6a8f3a7-106a-403e-b83e-2d749510b4eb%7D/)*
Just received the following error when trying to remove a repository from the repository registry. In addition, it appears my context menus are no longer working ... they're there, but when I click them nothing happens
#!python
** Mercurial version (2.4+6-35ba170c0f82). TortoiseHg version (2.6)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
File "tortoisehg\hgqt\reporegistry.pyo", line 415, in setActiveTabRepo
File "tortoisehg\hgqt\reporegistry.pyo", line 365, in scrollTo
File "tortoisehg\hgqt\reporegistry.pyo", line 354, in _getItemAndAncestors
AttributeError: 'NoneType' object has no attribute 'parent'
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/2320AttributeError: 'NoneType' object has no attribute 'parent'2020-06-21T10:26:21ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'parent'*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.4+6-35ba170c0f82). TortoiseHg version (2.6)
** Command: --nofork workbench
** CWD: G:\HG_Root\VCSharpPrj\Caina
** Encoding: cp1251
...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (2.4+6-35ba170c0f82). TortoiseHg version (2.6)
** Command: --nofork workbench
** CWD: G:\HG_Root\VCSharpPrj\Caina
** Encoding: cp1251
** Extensions loaded:
** Python version: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
** Windows version: sys.getwindowsversion(major=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2')
** Processor architecture: x86
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
File "tortoisehg\hgqt\reporegistry.pyo", line 415, in setActiveTabRepo
File "tortoisehg\hgqt\reporegistry.pyo", line 365, in scrollTo
File "tortoisehg\hgqt\reporegistry.pyo", line 354, in _getItemAndAncestors
AttributeError: 'NoneType' object has no attribute 'parent'https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5500AttributeError: 'NoneType' object has no attribute 'row'2020-07-05T15:05:39ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'row'*Created originally on Bitbucket by [Paul A. Cojan](https://bitbucket.org/%7B38f2fa30-6387-46fb-aa6e-df27dada4b6f%7D/)*
```
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench...*Created originally on Bitbucket by [Paul A. Cojan](https://bitbucket.org/%7B38f2fa30-6387-46fb-aa6e-df27dada4b6f%7D/)*
```
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork workbench
** CWD: \\compugame.dk\filserver\home\PAC\Windows\Desktop
** Encoding: cp1252
** Extensions loaded: strip, mercurial_keyring, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repotreemodel.pyo", line 148, in parent
AttributeError: 'NoneType' object has no attribute 'row'
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/972AttributeError: 'NoneType' object has no attribute 'startswith'2020-06-21T09:59:02ZBitbucket ImporterAttributeError: 'NoneType' object has no attribute 'startswith'*Created originally on Bitbucket by Anonymous*
When clicking on accept changes from remote pull:
{{{
#!python
** Mercurial version (1.9). TortoiseHg version (2.1+24-2f06fb2116a1)
** Command:
** CWD: /home/nbecker/nonlinear
** ...*Created originally on Bitbucket by Anonymous*
When clicking on accept changes from remote pull:
{{{
#!python
** Mercurial version (1.9). TortoiseHg version (2.1+24-2f06fb2116a1)
** Command:
** CWD: /home/nbecker/nonlinear
** Extensions loaded: hgk, transplant
** Python version: 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)]
** Qt-4.7.1 PyQt-4.8.3
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/repowidget.py", line 454, in acceptBundle
self.syncDemand.pullBundle(self.bundle, None)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/sync.py", line 695, in pullBundle
self.setUrl(bundle)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/sync.py", line 460, in setUrl
user, host, port, folder, passwd, scheme = parseurl(newurl)
File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/sync.py", line 25, in parseurl
if path.startswith('ssh://'):
AttributeError: 'NoneType' object has no attribute 'startswith'
}}}