thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-06-21T11:21:56Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5544Bullshit error message "too many open files" on commit. Goes away after resta...2020-06-21T11:21:56ZBitbucket ImporterBullshit error message "too many open files" on commit. Goes away after restarting thg*Created originally on Bitbucket by [teo8976 (Teo Tei)](https://bitbucket.org/%7B4d381d15-4c61-4a29-9de3-d1b5a89dbb2a%7D/)*
I use THG all the time, often keeping a handful of repos open in different tabs, and I commit, push and pull on ...*Created originally on Bitbucket by [teo8976 (Teo Tei)](https://bitbucket.org/%7B4d381d15-4c61-4a29-9de3-d1b5a89dbb2a%7D/)*
I use THG all the time, often keeping a handful of repos open in different tabs, and I commit, push and pull on them alternatively as I work on several projects at the same time.
Today, when attempting to commit on one of the repos I had open, I got this error:
![](https://bitbucket.org/repo/48R4X/images/134744508-Screenshot%20from%202020-05-14%2020-42-38.png)
and no matter how many times I retried, I would keep getting the same error.
I didn’t try to do commits on other repos, but I did succesfully do a push on another repo open in a separate tab.
After restarting THG and retrying, I could do the commit succesfully.
Whatever the error is, it obviously shouldn’t happen in the first place \(no matter what “too many open files” means, you shouldn’t open too many files\), but also, the error message should give more information. What kind of files? Open by whom? What am I supposed to do about it?
*Attachments:* [Screenshot_from_2020-05-14_20-42-38](/uploads/ca7df1f5a2b0f2f5113abf7e60dc9c12/Screenshot_from_2020-05-14_20-42-38.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5543Directory named "hg" on search path is used for cmdserver execution resulting...2020-06-21T11:21:54ZBitbucket ImporterDirectory named "hg" on search path is used for cmdserver execution resulting in permission denied error*Created originally on Bitbucket by [Peter Duda](https://bitbucket.org/%7B3859a3b5-c697-42de-8062-5468b720fcbf%7D/)*
On Linux, when there is a directory named “hg” on the search path before real “hg” script, it is found and used as path...*Created originally on Bitbucket by [Peter Duda](https://bitbucket.org/%7B3859a3b5-c697-42de-8062-5468b720fcbf%7D/)*
On Linux, when there is a directory named “hg” on the search path before real “hg” script, it is found and used as path for mercurial cmdserver execution, resulting in following error reported when there is attempt to use cmdserver:
cmdserver: execve: Permission denied
cmdserver: process exited unexpectedly with code 0
Renaming that directory resolves an issue, but directory should not be used when searching for mercurial exec path.
os.path.isfile\(ppath\) should be added to os.access\(ppath, os.X\_OK\) test in find\_in\_path method in Not Windows section in tortoisehg/util/paths.pyhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5538URLError: bad HTTP status line: ''2020-06-21T11:21:49ZBitbucket ImporterURLError: bad HTTP status line: ''*Created originally on Bitbucket by [daseul choi (최다슬)](https://bitbucket.org/%7B2cc51013-7937-4f3a-b7b7-9d47e034715e%7D/)*
Hi,
When I tried to clone repository, I got this error.
URLError: bad HTTP status line: ''
How can I f...*Created originally on Bitbucket by [daseul choi (최다슬)](https://bitbucket.org/%7B2cc51013-7937-4f3a-b7b7-9d47e034715e%7D/)*
Hi,
When I tried to clone repository, I got this error.
URLError: bad HTTP status line: ''
How can I fix it? I can access source\(http site\) but I fail to access source in tortoiseHg.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5534Performance Regression with grafting2020-06-21T11:21:44ZBitbucket ImporterPerformance Regression with grafting*Created originally on Bitbucket by Anonymous*
In comparison to TortoiseHG 5.0.2 grafting several changesets at once in a large repository is significantly slower with Tortoise 5.3.2 (same with 5.3.1). OS is Windows 10.
Whereas with 5...*Created originally on Bitbucket by Anonymous*
In comparison to TortoiseHG 5.0.2 grafting several changesets at once in a large repository is significantly slower with Tortoise 5.3.2 (same with 5.3.1). OS is Windows 10.
Whereas with 5.0.2 each graft takes less than 5 seconds, it took at least 30 seconds with 5.3.2.
Unfortunately I can't give you more details since I can only run tests on my PC in the office an I'm currently working from home.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5533HG Web multiple Repos broken2020-06-21T11:21:43ZBitbucket ImporterHG Web multiple Repos broken*Created originally on Bitbucket by Anonymous*
HG Server/tortoise web no longer functions with the hgweb.config file. Whether you use the config file or simply open the web server from a non-repo location, stop it, add repos (even one),...*Created originally on Bitbucket by Anonymous*
HG Server/tortoise web no longer functions with the hgweb.config file. Whether you use the config file or simply open the web server from a non-repo location, stop it, add repos (even one), then restart it, browsing to the localhost:8000 no longer shows the list of repositories (even one). If you try to browse to the repo, it will tell you it isn't found, and ask you to go back to the list, which is empty.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5530file history2020-06-21T11:21:40ZBitbucket Importerfile history*Created originally on Bitbucket by Anonymous*
```
#!python
#!python
** Mercurial version (5.3.1). TortoiseHg version (5.3.1+3-7ebcbe811dac)
** Command:
** CWD: /home/LOCALNET/term
** Encoding: UTF-8
** Ex...*Created originally on Bitbucket by Anonymous*
```
#!python
#!python
** Mercurial version (5.3.1). TortoiseHg version (5.3.1+3-7ebcbe811dac)
** Command:
** CWD: /home/LOCALNET/term
** Encoding: UTF-8
** Extensions loaded: extdiff, convert, strip, tortoisehg.util.configitems
** Python version: 2.7.17 (default, Apr 6 2020, 14:14:29) [GCC 9.3.0]
** System: Linux fort 5.6.2-gentoo #1 SMP PREEMPT Mon Apr 6 14:05:01 +07 2020 x86_64
** Qt-5.14.1 PyQt-5.14.1 QScintilla-2.11.4
Traceback (most recent call last):
File "/home/LOCALNET/term/soft/tortoisehg/tortoisehg/hgqt/fileview.py", line 1120, in _onAnnotateFinished
data = util.pickle.loads(bytes(sess.readAll()))
ValueError: unsupported pickle protocol: 3
```
Sometimes it works without errors.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5528target branch is not stored in synchronize view2020-07-05T14:26:13ZBitbucket Importertarget branch is not stored in synchronize view*Created originally on Bitbucket by Anonymous*
when I switch between repositories, the target branch is updated.
the next time I open tortoisehg, the target branch is blank.*Created originally on Bitbucket by Anonymous*
when I switch between repositories, the target branch is updated.
the next time I open tortoisehg, the target branch is blank.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5524Workbench crashed when click UPDATE menu button2020-06-21T11:21:35ZBitbucket ImporterWorkbench crashed when click UPDATE menu button*Created originally on Bitbucket by [JoeXY (YUE XU)](https://bitbucket.org/%7B92dbfb0d-5592-468f-8865-384d5f8dfa40%7D/)*
Each time I click the update button, it crashed.
I tried to delete .hg\\store\\phaseroots file \(find this sol...*Created originally on Bitbucket by [JoeXY (YUE XU)](https://bitbucket.org/%7B92dbfb0d-5592-468f-8865-384d5f8dfa40%7D/)*
Each time I click the update button, it crashed.
I tried to delete .hg\\store\\phaseroots file \(find this solution in #3847 \), seems doesn't work.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5523Someone done broke 3 way compare2020-06-21T11:21:33ZBitbucket ImporterSomeone done broke 3 way compare*Created originally on Bitbucket by [sirintellegence (Austin Stephens)](https://bitbucket.org/%7B5515ca3b-2ab8-4d29-ab3e-ce28b792c3b4%7D/)*
This is most noticeable when trying to compare a merged revision to it’s parents. I use Beyond C...*Created originally on Bitbucket by [sirintellegence (Austin Stephens)](https://bitbucket.org/%7B5515ca3b-2ab8-4d29-ab3e-ce28b792c3b4%7D/)*
This is most noticeable when trying to compare a merged revision to it’s parents. I use Beyond Compare, but after looking at the resulting command line and the implementation in MergeTools.rc, I believe someone at some time swapped the meaning of `$child` and `$clabel` for diff3args since they are being passed swapped.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5520Mercurial error on Refresh button click2020-06-21T11:21:30ZBitbucket ImporterMercurial error on Refresh button click*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (3.3.2+138+colvir-patch-2020-02-10). TortoiseHg version (3.3.2+7-c7fa58d68b26)
** Command: workbench workbench
** CWD: C:\Users\vzinin\Desktop
...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (3.3.2+138+colvir-patch-2020-02-10). TortoiseHg version (3.3.2+7-c7fa58d68b26)
** Command: workbench workbench
** CWD: C:\Users\vzinin\Desktop
** Encoding: cp1251
** Extensions loaded: ddc_merge.conv_d14, ddc_merge.d07to10, strip, cbstask, cbsfilecommit, cbsignore, cbsts, cherrypick, cbslogger, extdiff, graphlog, mq, patchbomb, purge, record, rebase, mercurial_keyring, extmerge, reviewboard, cbsstd, cbsset, cbsfstatus, cbs4commands, cbsconfig, cbsanalysis, cbsdeps
** 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=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1 QScintilla-2.6.1
Traceback (most recent call last):
File "tortoisehg\hgqt\status.pyo", line 589, in onCurrentChange
File "tortoisehg\hgqt\filedata.pyo", line 214, in load
File "tortoisehg\hgqt\filedata.pyo", line 397, in _readStatus
File "mercurial\patch.pyo", line 1666, in diff
File "mercurial\demandimport.pyo", line 106, in __getattribute__
File "mercurial\demandimport.pyo", line 78, in _load
File "mercurial\demandimport.pyo", line 47, in _hgextimport
ZipImportError: bad local file header in C:\Program Files\TortoiseHg\library.ziphttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5515Python Traceback on Merge2020-06-21T11:21:25ZBitbucket ImporterPython Traceback on Merge*Created originally on Bitbucket by [joymaker3 (Ken Brooks)](https://bitbucket.org/%7Be558ab2a-ebad-4514-943a-dd515c4f4276%7D/)*
I was doing what I thought to be a very ordinary merge between two branches.
```
#!python
** Mercurial...*Created originally on Bitbucket by [joymaker3 (Ken Brooks)](https://bitbucket.org/%7Be558ab2a-ebad-4514-943a-dd515c4f4276%7D/)*
I was doing what I thought to be a very ordinary merge between two branches.
```
#!python
** Mercurial version (4.8). TortoiseHg version (4.8)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, tortoisehg.util.configitems, rebase
** 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\merge.pyo", line 113, in pageChanged
File "tortoisehg\hgqt\merge.pyo", line 368, in currentPage
TypeError: %d format: a number is required, not NoneType
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5513Hg Workbench crash2020-06-21T11:21:24ZBitbucket ImporterHg Workbench crash*Created originally on Bitbucket by [Игорь Соколов](https://bitbucket.org/%7B27690c18-d6d0-4f20-b3a7-a30d2caa96fd%7D/)*
Happen when select a revision
```
#!python
** Mercurial version (4.9.0-bentley-r1). TortoiseHg version (4.9.0-...*Created originally on Bitbucket by [Игорь Соколов](https://bitbucket.org/%7B27690c18-d6d0-4f20-b3a7-a30d2caa96fd%7D/)*
Happen when select a revision
```
#!python
** Mercurial version (4.9.0-bentley-r1). TortoiseHg version (4.9.0-bentley-r1)
** Command: --nofork workbench
** CWD: O:\DevArea\BuildingIron\src\Building\Mechanical
** Encoding: cp1251
** Extensions loaded: convert, extdiff, fetch, hgk, largefiles, strip, mq, rebase, shelve, transplant, showrenames, bsi-whitespace, bsi-keyword, bsi-createremote, bsi-externalcmds, 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.7.1 PyQt-5.7.1 QScintilla-2.9.4
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 221, in flags
File "tortoisehg\hgqt\manifestmodel.pyo", line 196, in isDir
File "tortoisehg\hgqt\manifestmodel.pyo", line 478, in isdir
AttributeError: subkind
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 251, in parent
File "tortoisehg\hgqt\manifestmodel.pyo", line 467, in path
File "tortoisehg\hgqt\manifestmodel.pyo", line 463, in parent
AttributeError: _parent
```
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5510Upon first double-click to 'open' a repository in far left column (Repository...2020-06-21T11:21:21ZBitbucket ImporterUpon first double-click to 'open' a repository in far left column (Repository Registry)*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (5.2.2). TortoiseHg version (5.1+255-10a1e3f75cba)
** Command: --nofork
** CWD: /home/paul
** Encoding: UTF-8
** Extensions loaded: g...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (5.2.2). TortoiseHg version (5.1+255-10a1e3f75cba)
** Command: --nofork
** CWD: /home/paul
** Encoding: UTF-8
** Extensions loaded: graphlog, strip, rebase, tortoisehg.util.configitems
** Python version: 3.8.1 (default, Jan 8 2020, 23:09:20) [GCC 9.2.0]
** System: Linux EVGA-O 5.4.14-2-MANJARO #1 SMP PREEMPT Fri Jan 24 09:34:16 UTC 2020 x86_64
** Qt-5.14.0 PyQt-5.14.1 QScintilla-2.11.4
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/revdetails.py", line 416, in _onFileSelected
self.fileview.display(model.fileData(index))
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/fileview.py", line 498, in display
fd.load(self.isChangeSelectionEnabled())
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/filedata.py", line 731, in load
_ui.setconfig('ui', 'paginate', 'off', 'subrepodata')
File "/usr/lib/python3.8/site-packages/mercurial/ui.py", line 553, in setconfig
cfg.set(section, name, value, source)
File "/usr/lib/python3.8/site-packages/mercurial/config.py", line 94, in set
assert not isinstance(
AssertionError: b'config section may not be unicode strings on Python 3'https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5501Workbench filter doesn't update revision details2021-04-21T12:56:43ZBitbucket ImporterWorkbench filter doesn't update revision details*Created originally on Bitbucket by [Vladimir Robustov](https://bitbucket.org/%7B59d51337-c604-4e8e-871d-69a303875478%7D/)*
1. Open attached repository in Tortoise Workbench 5.1.0 or 5.0.2
2. Enable Filter Toolbar
3. Type in filter "r...*Created originally on Bitbucket by [Vladimir Robustov](https://bitbucket.org/%7B59d51337-c604-4e8e-871d-69a303875478%7D/)*
1. Open attached repository in Tortoise Workbench 5.1.0 or 5.0.2
2. Enable Filter Toolbar
3. Type in filter "rev1" \(without quotes\) and click to showed commit \(rev1\). Revision details windows show data of rev1 commit
4. Type in filter "rev2" and and click to showed commit \(rev2\). Revision details windows show data of rev1 commit, but should rev2.
Version 4.4.1 work right in this case.
*Attachments:* [TortoiseHg_bug.zip](/uploads/e750bab1ad7c1b913224ac2d29b6af10/TortoiseHg_bug.zip)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5499Detect rename not working2020-06-21T11:21:09ZBitbucket ImporterDetect rename not working*Created originally on Bitbucket by Anonymous*
After moving a directory containing lots of files and IDE failing to do the VCS operation, I tried to resolve renamed files with tortoise hg.
I had lots of missing files which I "Forget", ...*Created originally on Bitbucket by Anonymous*
After moving a directory containing lots of files and IDE failing to do the VCS operation, I tried to resolve renamed files with tortoise hg.
I had lots of missing files which I "Forget", then using a file example that has status "was deleted" and the same file renamed has status "is unversioned".
Running the the "Detect rename" tools results in no matches even that the two files content is identical.
Verify repository:
% hg verify --verbose
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
checked 2392 changesets with 17122 changes to 5251 files
[command completed successfully Sun Jan 05 14:10:04 2020]
Side note: if I lower the threshold to 0, all source files show matching the same single file (low percent). Shouldn't be also similar to other files? Why only one?
TortoiseHg 5.0.2
Windows 10
*Attachments:* [hg_files_ren](/uploads/0735f1faa21b3fe8ec22478aa9d5fd28/hg_files_ren.png)[hg_files](/uploads/7ce4a66456585b06192af6e7b827c398/hg_files.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5498Update Tango-derived icons to public domain2021-10-12T06:37:31ZBitbucket ImporterUpdate Tango-derived icons to public domain*Created originally on Bitbucket by [andrew_shadura (Andrej Shadura)](https://bitbucket.org/%7B4b9f3ae2-5a25-4bee-8375-fdab22860ffc%7D/)*
The icons derived from the [Tango icon set](https://en.wikipedia.org/wiki/Tango_Desktop_Project) a...*Created originally on Bitbucket by [andrew_shadura (Andrej Shadura)](https://bitbucket.org/%7B4b9f3ae2-5a25-4bee-8375-fdab22860ffc%7D/)*
The icons derived from the [Tango icon set](https://en.wikipedia.org/wiki/Tango_Desktop_Project) are currently shipped under the terms of CC BY-SA 2.0 which is not fully compatible with [DFSG](https://wiki.debian.org/DFSGLicenses#Creative_Commons_Attribution_Share-Alike_.28CC-BY-SA.29_v3.0) which leads to extra work to replace them with fully free counterparts when e.g. packaging TortoiseHg for Debian.
Please update these icons to the latest versions which are in public domain.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5496Files are not updated while pull operation.2020-06-21T11:21:02ZBitbucket ImporterFiles are not updated while pull operation.*Created originally on Bitbucket by Anonymous*
While pulling/cloning from repository, files are not getting added or added files are not visible in workbench. Operation is get stuck.
refer attached screen shot.![issue](C:\Users\ssarode...*Created originally on Bitbucket by Anonymous*
While pulling/cloning from repository, files are not getting added or added files are not visible in workbench. Operation is get stuck.
refer attached screen shot.![issue](C:\Users\ssarode\Desktop\Hg.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5485Text copied from TortoiseHg workbench to clipboard disappears from clipboard ...2020-06-21T11:20:50ZBitbucket ImporterText copied from TortoiseHg workbench to clipboard disappears from clipboard when closing TortoiseHg workbench*Created originally on Bitbucket by [KoenT_IM (Koen Tanghe)](https://bitbucket.org/%7B020a1154-eb8b-49d3-812c-47dad177c9c5%7D/)*
**Description**
Whenever I copy some text from within the TortoiseHg workbench to the Windows clipboard,...*Created originally on Bitbucket by [KoenT_IM (Koen Tanghe)](https://bitbucket.org/%7B020a1154-eb8b-49d3-812c-47dad177c9c5%7D/)*
**Description**
Whenever I copy some text from within the TortoiseHg workbench to the Windows clipboard, then close the workbench, and then try to paste the clipboard in some other application, it doesn’t work: no text is pasted at all. It is as if the text has been removed from the clipboard by closing the workbench.
**Reproduction steps**
1. open the TortoiseHg workbench by right-clicking on the top folder of your locally checked out repository and selecting “Hg Workbench“
2. select a changeset in the list of changesets to have the full commit message show up in the revision details panel
3. in that panel, select and copy some text from the commit message
4. close the workbench, go to a different Windows application and paste the copied text → no text is pasted at all \(expected behavior: the copied text should still be in the clipboard and get pasted just fine in the other application\)
Note that in step 4. pasting does work if you keep the workbench open at the moment of pasting.
**Technical info**
TortoiseHg version 5.0.2 \(with Mercurial-5.0.2, Python-2.7.13, PyQt-5.9.1, Qt-5.9.2\)
Windows 10 Pro, version 1903, OS build 18362.476https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5481py3: password prompt for push pops up repeatedly2020-06-21T11:20:46ZBitbucket Importerpy3: password prompt for push pops up repeatedly*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I have my username for bitbucket set in my `.hgrc`, but not my password. When I push from tortoiseh...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
I have my username for bitbucket set in my `.hgrc`, but not my password. When I push from tortoisehg it prompts for my password, but then when I enter it and hit enter, the prompt appears again as if I had gotten the password wrong, even though I got it right. The prompt continues to pup up indefinitely. However if I click cancel, I notice the push was actually successful (not sure if the push occurred after the first successful password or only after clicking cancel on the last password prompt).
This is using the latest commit of thg with Python 3.8 on Arch Linux with a devopment build of mercurial 5.2:
```
TortoiseHg
version 5.1+192-7a21581d3de0
with Mercurial-5.2+209-d3c4368099ed, Python-3.8.0, PyQt-5.13.2, Qt-5.13.2
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5479py3: traceback upon starting workbench twice2020-06-21T11:20:44ZBitbucket Importerpy3: traceback upon starting workbench twice*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* run thg
* run thg again whilst the first one is still running
traceback:
...*Created originally on Bitbucket by [cbillington (Chris Billington)](https://bitbucket.org/%7Be363c5a9-5075-4656-afb5-88bd6a6dceeb%7D/)*
To reproduce:
* run thg
* run thg again whilst the first one is still running
traceback:
```
#!python
** Mercurial version (5.2+209-d3c4368099ed). TortoiseHg version (5.1+192-7a21581d3de0)
** Command:
** CWD: /home/bilbo
** Encoding: UTF-8
** Extensions loaded: strip, mq, churn, rebase, tortoisehg.util.configitems
** Python version: 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]
** System: Linux bilbo-arch 4.19.84-1-lts #1 SMP Tue, 12 Nov 2019 22:19:52 +0000 x86_64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.11.3
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 435, in runcommand
return _runcommand(lui, options, cmd, d)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 487, in _runcommand
return checkargs()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 440, in checkargs
return cmdfunc()
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 433, in <lambda>
d = lambda: qtrun(checkedfunc, ui, *args,
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtapp.py", line 464, in __call__
dlg, reporoot = self._createdialog(dlgfunc, args, opts)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtapp.py", line 528, in _createdialog
return dlgfunc(self._ui, *args, **opts), reporoot
File "/usr/lib/python3.8/site-packages/mercurial/util.py", line 1840, in check
return func(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/run.py", line 1051, in log
serverexists = qtapp.connectToExistingWorkbench('[echo]')
File "/usr/lib/python3.8/site-packages/tortoisehg/hgqt/qtapp.py", line 353, in connectToExistingWorkbench
socket.write(QByteArray(data))
TypeError: arguments did not match any overloaded call:
QByteArray(): too many arguments
QByteArray(int, str): argument 1 has unexpected type 'str'
QByteArray(Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'str'
```