thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-06-21T11:21:33Zhttps://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/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/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'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5472Preview panels do not update2020-06-21T11:20:37ZBitbucket ImporterPreview panels do not update*Created originally on Bitbucket by Anonymous*
When doing a search it will return search results and clicking on them the preview will show below with all the relevant information, but if I do a second search and click on the search res...*Created originally on Bitbucket by Anonymous*
When doing a search it will return search results and clicking on them the preview will show below with all the relevant information, but if I do a second search and click on the search results the preview windows do not update with the correct information. Also after committing if I press the 'detect out going changes' button, it will show the outgoing change but when I click on it, it again doesnt update the preview windows
*Attachments:* [torthg](/uploads/d05a12e45604b5523d7d53cf2e611f43/torthg.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5471Using Windows's new native OpenSSH ssh.exe thg hangs forever (host verificati...2020-06-21T11:20:35ZBitbucket ImporterUsing Windows's new native OpenSSH ssh.exe thg hangs forever (host verification step the first time is interactive)*Created originally on Bitbucket by [joonas_fi (Joonas Loppi)](https://bitbucket.org/%7B73edf87e-b947-49d3-a9c6-49941ddd8c2d%7D/)*
Nowadays Windows has native OpenSSH built-in: [https://docs.microsoft.com/en-us/windows-server/administra...*Created originally on Bitbucket by [joonas_fi (Joonas Loppi)](https://bitbucket.org/%7B73edf87e-b947-49d3-a9c6-49941ddd8c2d%7D/)*
Nowadays Windows has native OpenSSH built-in: [https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh\_install\_firstuse](https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse)
I think it’s good to migrate to it, because now it works around the same in Linux and Windows and Putty’s SSH agent protocol implementation \(pageant\) is very hacky.
Now that on Windows OpenSSH handles the SSH agent as well, I think the protocol is about the same as in Linux \(though on Windows it uses named pipe \(name: \`openssh-ssh-agent\`\) probably because Unix sockets are not yet generally available on Windows\).
What didn’t work:
TortoiseHg just hanged forever when I tried to push to GitHub \(I use hggit\). Observing the command line \(\`ssh [git@github.com](mailto:git@github.com) "git-receive-pack 'function61/turbobob.git'"\`\) I did the same from command prompt, and ssh.exe asked me to accept GitHub’s host RSA key fingerprint. The \`git-receive-pack\` command did its thing successfully.
Now that the host key ack is stored, OpenSSH \+ Git integration works from TortoiseHg flawlessly.
tl;dr: we may need to pass a flag to ssh.exe for it to accept host key automatically \(if seeing that host’s key for the first time\) and to make SSH command automatically fail if host key verification fails?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5469Mandatory Merge with secret head2020-06-21T11:20:33ZBitbucket ImporterMandatory Merge with secret head*Created originally on Bitbucket by [Tommaso Migliorini](https://bitbucket.org/%7B5925b491-3796-45bd-922b-a29123411c20%7D/)*
Hi,
I have a branch with two heads but one of these is secret. If I want merge a public head with another br...*Created originally on Bitbucket by [Tommaso Migliorini](https://bitbucket.org/%7B5925b491-3796-45bd-922b-a29123411c20%7D/)*
Hi,
I have a branch with two heads but one of these is secret. If I want merge a public head with another branch I cant do it, I must merge first with a secret changeset. Why?
Thank youhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5467Documentation is Windows-centric2020-06-21T11:20:31ZBitbucket ImporterDocumentation is Windows-centric*Created originally on Bitbucket by [matteosistisette (matteo sisti sette)](https://bitbucket.org/%7B9fa605ad-375e-45d8-bd81-71c0b4ff11b4%7D/)*
I was searching the docs to find where the list of repositories in the registry is stored on...*Created originally on Bitbucket by [matteosistisette (matteo sisti sette)](https://bitbucket.org/%7B9fa605ad-375e-45d8-bd81-71c0b4ff11b4%7D/)*
I was searching the docs to find where the list of repositories in the registry is stored on Ubuntu, but most of the docs seem to be written as if TortoiseHg was exclusively for Windows.
For example at [https://tortoisehg.readthedocs.io/en/latest/settings.html](https://tortoisehg.readthedocs.io/en/latest/settings.html)
> A site-wide configuration file in `C:\Program Files\TortoiseHg\Mercurial.ini` This file is read first and thus has the lowest priority.
>
> A per-user configuration file in `C:\Documents and Settings\username\Mercurial.ini`
>
> …..
All those paths are windows-specific and there’s no mention of their counterparts on Linux or Mac OS.
The same at [https://tortoisehg.readthedocs.io/en/latest/faq.html](https://tortoisehg.readthedocs.io/en/latest/faq.html)
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5463Copying commit hash puts newlines in the string2020-06-21T11:20:26ZBitbucket ImporterCopying commit hash puts newlines in the string*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
If you double click and then copy the commit hash, it copies some newlnes into the string also.
...*Created originally on Bitbucket by [DaveInCaz (David Hollman)](https://bitbucket.org/%7B2dd8bec0-e2b4-43d0-b274-6ee79db66b75%7D/)*
If you double click and then copy the commit hash, it copies some newlnes into the string also.
e.g., from here:
![](https://bitbucket.org/repo/48R4X/images/463332341-image.png)
in WorkBench.
Seems like a newline is appended at least to the left of the string, and maybe to the right also.
This is just an annoyance when pasting the text anywhere.
Thanks
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5457Error during merge to local2020-06-21T11:20:20ZBitbucket ImporterError during merge to local*Created originally on Bitbucket by Anonymous*
This happened after committing local changes, pull from repository and trying to merge with local. Just one changed file in my commit, and it was not changed in repository
*Attachments:* ...*Created originally on Bitbucket by Anonymous*
This happened after committing local changes, pull from repository and trying to merge with local. Just one changed file in my commit, and it was not changed in repository
*Attachments:* [bugreport.txt](/uploads/d28e6766129143bd1b39e269ecd9d511/bugreport.txt)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5454CopyHash fails sometimes2020-06-21T11:20:16ZBitbucket ImporterCopyHash fails sometimes*Created originally on Bitbucket by Anonymous*
In the hg workbench, I right-click upon a commit item in the graph and select "Copy hash" -> bug report window opens.
Unfortunatly this is not reproducable every time, but it happens fr...*Created originally on Bitbucket by Anonymous*
In the hg workbench, I right-click upon a commit item in the graph and select "Copy hash" -> bug report window opens.
Unfortunatly this is not reproducable every time, but it happens from time to time. It seems to be independent upon the node that I select. Whenever this error occurs I must close the workbench and open it again, or this error appears every time I try to perform this action. After restarting the workbench most often copying the hash value will work.
#!python
** Mercurial version (4.8.1). TortoiseHg version (4.8.1)
** Command: --nofork workbench
** CWD: R:\proj\proj
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, strip, mq, 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\repowidget.pyo", line 1977, in copyHash
TypeError: b2a_hex() argument 1 must be string or buffer, not Nonehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5451Alt+Number shortcuts in the View-menu break Windows Alt-Code character input ...2020-06-21T11:20:13ZBitbucket ImporterAlt+Number shortcuts in the View-menu break Windows Alt-Code character input method*Created originally on Bitbucket by Anonymous*
TortioseHg uses the keyboard shortcuts Alt+0 for Show Task Tab and Alt+1 … Alt+4 to select the contents of the Task Tab (Revision Details, Commit, Search, or Synchronise)
Windows uses ‘A...*Created originally on Bitbucket by Anonymous*
TortioseHg uses the keyboard shortcuts Alt+0 for Show Task Tab and Alt+1 … Alt+4 to select the contents of the Task Tab (Revision Details, Commit, Search, or Synchronise)
Windows uses ‘Alt-Codes’ for input of off-keyboard characters, e.g. Alt+0176 for the degree sign °.
As Windows Alt-Codes require num-pad numbers: is it maybe possible to restrict the thg shortcuts to ‘normal’ numbers?
How to reproduce:
Open a repository in THG, open the Commit tab, place the cursor in the commit message. Press and hold the Alt key, then type on the num-pad: 0 1 7 6, then release Alt.
Expected outcome: the character ° is inserted into the commit message before the cursor
Actual outcome: the task tab is closed (Alt+0) , then opened again showing Revision Details (Alt+1). (Alt+7 and Alt+6 are then ignored)
thg 5.0.2https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5450Error on "Revision history" and "Annotate files" called from context menu in ...2020-06-21T11:20:12ZBitbucket ImporterError on "Revision history" and "Annotate files" called from context menu in explorer on file*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (4.6.1). TortoiseHg version (4.6.1)
** Command: --nofork log --listfile C:\Users\saltu\AppData\Local\Temp\THGACF2.tmp
** CWD: D:\repos\CadwiseP...*Created originally on Bitbucket by Anonymous*
#!python
** Mercurial version (4.6.1). TortoiseHg version (4.6.1)
** Command: --nofork log --listfile C:\Users\saltu\AppData\Local\Temp\THGACF2.tmp
** CWD: D:\repos\CadwiseProjectStudio
** Encoding: cp1251
** Extensions loaded: mercurial_keyring, shelve, strip, transplant, rebase, largefiles, extdiff, 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\run.pyo", line 48, in dispatch
File "tortoisehg\hgqt\run.pyo", line 249, in _runcatch
File "tortoisehg\hgqt\run.pyo", line 340, in runcommand
File "tortoisehg\hgqt\run.pyo", line 391, in _runcommand
File "tortoisehg\hgqt\run.pyo", line 345, in checkargs
File "tortoisehg\hgqt\run.pyo", line 339, in <lambda>
File "tortoisehg\hgqt\qtapp.pyo", line 457, in __call__
File "tortoisehg\hgqt\qtapp.pyo", line 521, in _createdialog
File "mercurial\util.pyo", line 1553, in check
File "tortoisehg\hgqt\run.pyo", line 905, in log
File "tortoisehg\hgqt\run.pyo", line 641, in filelog
File "tortoisehg\hgqt\filedialogs.pyo", line 398, in goto
File "tortoisehg\hgqt\repomodel.pyo", line 903, in indexLinkedFromRev
File "tortoisehg\hgqt\repomodel.pyo", line 665, in indexFromRev
File "tortoisehg\hgqt\repomodel.pyo", line 389, in _ensureBuilt
File "tortoisehg\hgqt\graph.pyo", line 955, in build_nodes
File "tortoisehg\hgqt\graph.pyo", line 632, in _iter_graphnodes
File "tortoisehg\hgqt\graph.pyo", line 837, in fromfilectx
File "tortoisehg\hgqt\graph.pyo", line 824, in fromchangectx
File "mercurial\context.pyo", line 580, in phase
File "mercurial\localrepo.pyo", line 88, in __get__
File "mercurial\scmutil.pyo", line 1165, in __get__
File "mercurial\localrepo.pyo", line 758, in _phasecache
File "mercurial\phases.pyo", line 205, in __init__
File "mercurial\phases.pyo", line 148, in _readroots
ValueError: need more than 1 value to unpackhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5449Diff between old revisions of file now in subrepo directory fails2020-06-21T11:20:11ZBitbucket ImporterDiff between old revisions of file now in subrepo directory fails*Created originally on Bitbucket by [James Oldfield](https://bitbucket.org/%7Bf3154dfe-cc7c-41e3-aced-6097e572dc33%7D/)*
I am running TortoiseHg 5.0.2 on Windows 10 64-bit.
Steps:
1. Create a file within a subdirectory of a repo, ...*Created originally on Bitbucket by [James Oldfield](https://bitbucket.org/%7Bf3154dfe-cc7c-41e3-aced-6097e572dc33%7D/)*
I am running TortoiseHg 5.0.2 on Windows 10 64-bit.
Steps:
1. Create a file within a subdirectory of a repo, e.g. in MyRepo create MyRepo/Foo/bar/baz.cpp, and commit. Call this revision 1.
2. Change that file and commit again. Call this revision 2.
3. Delete that subdirectory, and replace with a subrepository. \(In my case, the subrepo contains all the same files that were there before, but I don't think that's relevant.\) Call this revision 3.
4. In TortoiseHG Workbench, browse back to revision 2. Click on the file and you will see the diff successfully shown in the bottom right pane. But double click \(or right click -> Diff to Parent\) and you will get an error:
> path 'MyRepo\\Foo\\bar\\baz.cpp' is inside nested repo 'MyRepo\\Foo'.
Here is the detail:
```
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: hggit, mercurial_keyring, shelve, strip, rebase, mq, 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\revdetails.pyo", line 383, in onDoubleClick
File "tortoisehg\hgqt\filectxactions.pyo", line 115, in wrapped
File "tortoisehg\hgqt\filectxactions.pyo", line 289, in visualDiffFile
File "tortoisehg\hgqt\filectxactions.pyo", line 299, in _visualDiffToBase
File "tortoisehg\hgqt\filectxactions.pyo", line 308, in _visualDiff
File "tortoisehg\hgqt\visdiff.pyo", line 239, in visualdiff
File "mercurial\match.pyo", line 219, in match
File "mercurial\match.pyo", line 265, in _donormalize
File "mercurial\pathutil.pyo", line 192, in canonpath
File "mercurial\pathutil.pyo", line 101, in __call__
File "mercurial\pathutil.pyo", line 129, in _checkfs
Abort: path 'MyRepo\Foo\bar\baz.cpp' is inside nested repo 'MyRepo\\Foo'
```