thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2020-06-21T10:10:33Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1536Choose number of context lines to show in diffs2020-06-21T10:10:33ZBitbucket ImporterChoose number of context lines to show in diffs*Created originally on Bitbucket by [michael broutin (Michaël BROUTIN)](https://bitbucket.org/%7Bd733339a-549a-4e27-a762-030ce2e951e4%7D/)*
Sometimes, you're having a look at a diff in workbench, and you don't understand where the code ...*Created originally on Bitbucket by [michael broutin (Michaël BROUTIN)](https://bitbucket.org/%7Bd733339a-549a-4e27-a762-030ce2e951e4%7D/)*
Sometimes, you're having a look at a diff in workbench, and you don't understand where the code comes from.
It could be handy to be able to modify the number of context lines shown in diff view directly in that window (without having to go to settings panel..)
On a side note, that's possible when you're looking at a changeset in bitbucket ;)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1535Purge command generates [Error 3] The system cannot find the path specified2020-06-21T10:10:32ZBitbucket ImporterPurge command generates [Error 3] The system cannot find the path specified*Created originally on Bitbucket by Anonymous*
When I use the purge menu item, I am getting an error about not being able to find a specified path. Using THG 2.2.2 msi.
To recreate:
Create a repo.
Within the repo create a new ...*Created originally on Bitbucket by Anonymous*
When I use the purge menu item, I am getting an error about not being able to find a specified path. Using THG 2.2.2 msi.
To recreate:
Create a repo.
Within the repo create a new folder.
Using THG workbench, purge the repo.
At the bottom of the purge dialog I get, for example:
"[Error 3] The system cannot find the path specified: 'D:\Documents\Tmp\Test\To be deleted/*.*'"
(which is the empty folder in the repo). The folder is however deleted.
Gavinhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1507Stop button for pull that hangs2020-06-21T10:09:54ZBitbucket ImporterStop button for pull that hangs*Created originally on Bitbucket by [y (Yuval Greenfield)](https://bitbucket.org/%7B5ce2562a-1092-4ee0-8b9b-640ef10e78c6%7D/)*
I know about this patch https://bitbucket.org/tortoisehg/thg/changeset/b8d1fbd7634a but I can't find the stop...*Created originally on Bitbucket by [y (Yuval Greenfield)](https://bitbucket.org/%7B5ce2562a-1092-4ee0-8b9b-640ef10e78c6%7D/)*
I know about this patch https://bitbucket.org/tortoisehg/thg/changeset/b8d1fbd7634a but I can't find the stop action button mentioned..https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1502Incorrect line endings inserted in merge rejected patch view2020-06-21T10:09:46ZBitbucket ImporterIncorrect line endings inserted in merge rejected patch view*Created originally on Bitbucket by [grauw (Laurens Holst)](https://bitbucket.org/%7B9d645af2-774b-4220-b9aa-4db38b7835fd%7D/)*
When I am in the merge rejected patch view, if I copy/paste from the diff area into the file editor, it adds...*Created originally on Bitbucket by [grauw (Laurens Holst)](https://bitbucket.org/%7B9d645af2-774b-4220-b9aa-4db38b7835fd%7D/)*
When I am in the merge rejected patch view, if I copy/paste from the diff area into the file editor, it adds the lines with CRLF line endings. I am running on Windows.
Steps for reproduction:
# Import two changesets into MQ that use LF line endings in their files
# Unapply the second patch
# Alter something in the first patch that conflicts with the second
# Re-apply the second patch
# Answer yes to the dialog that asks if you want to merge the rejected hunk
# Copy/paste a couple of lines from the rejected hunk into the file editor
# Mark the hunk as resolved and save
# Note that the file now has mixed line endingshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1482Colorize Repository Groups and their corresponding tabs (Workbench)2020-06-21T10:09:26ZBitbucket ImporterColorize Repository Groups and their corresponding tabs (Workbench)*Created originally on Bitbucket by [athieme (André Thieme)](https://bitbucket.org/%7B89497d89-0293-4d82-a82f-730d10334192%7D/)*
In the Workbench I have several Repository Groups in which I list multiple versions of the same repo (local...*Created originally on Bitbucket by [athieme (André Thieme)](https://bitbucket.org/%7B89497d89-0293-4d82-a82f-730d10334192%7D/)*
In the Workbench I have several Repository Groups in which I list multiple versions of the same repo (local and net drive). It would be good if I could assign a background and/or foreground color for the groups.
Those colors would be reflected in the tabs (which open when double clicking on a repo). That way I could differentiate between local and net drive repos easily, even without trying one first and look into the Repo Registry.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1476ignore on commit feature2020-06-21T10:09:20ZBitbucket Importerignore on commit feature*Created originally on Bitbucket by [Andrey Kozhyn](https://bitbucket.org/%7B509d2f24-85af-472c-8505-cfc015d92615%7D/)*
It is very useful feature that tortoise SVN has - ignore-on-commit.
If file marked as being ignored on commit it ...*Created originally on Bitbucket by [Andrey Kozhyn](https://bitbucket.org/%7B509d2f24-85af-472c-8505-cfc015d92615%7D/)*
It is very useful feature that tortoise SVN has - ignore-on-commit.
If file marked as being ignored on commit it is placed in separate list in commit dialog. And by default all files in this list are unchecked. so by default file is not committed, but if you need it, check file and commit it.
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-commit.html#tsvn-dug-commit-ignorehttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1474File > Settings > Extensions tab clears disabled extensions2020-06-21T10:09:18ZBitbucket ImporterFile > Settings > Extensions tab clears disabled extensions*Created originally on Bitbucket by Anonymous*
I have largefiles enabled in my user mercurial.ini, but disabled it on a specific project to avoid issue #1392. Whether the project hgrc file is edited with a text editor prior to switchin...*Created originally on Bitbucket by Anonymous*
I have largefiles enabled in my user mercurial.ini, but disabled it on a specific project to avoid issue #1392. Whether the project hgrc file is edited with a text editor prior to switching to the extensions list item on the project specific repo tab, or it is edited with the edit button on that tab, hitting OK will remove the line from the project hgrc file completely. Hitting cancel won't erase the settings. Looking at only the user settings and never switching to the project settings tab also preserves the settings.
It seems that maybe that tab is being confused by the largefiles = ! line (as opposed to the unchecked state simply being transferred to the file by the OK button), because if that line is _not_ present, the extensions enabled by the user file are greyed out on the project specific tab. With that disabling line, none of the extensions enabled by the user file are greyed out or check on the project tab.
(Related UI feedback aside: if the check boxes were tri-state, then inherited extensions could be disabled from the gui with one of those states. But with the edit button there, it isn't that big of a deal. I was originally confused that the inherited extensions were greyed out and not checked, because I thought they were unusable on that repo for some reason.)
I'm on Windows 7 with thg 2.2.1.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1469RevlogError (probably) on strip or rebase2020-06-21T10:09:11ZBitbucket ImporterRevlogError (probably) on strip or rebase*Created originally on Bitbucket by Anonymous*
~~~~
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: --nofork workbench
** CWD: C:\dev\2.4
** Encoding: cp1255
** Extensions loaded: rebase, mercurial_keyri...*Created originally on Bitbucket by Anonymous*
~~~~
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: --nofork workbench
** CWD: C:\dev\2.4
** Encoding: cp1255
** Extensions loaded: rebase, mercurial_keyring, fetch, mq, eol
** 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.3
Traceback (most recent call last):
File "tortoisehg\hgqt\commit.pyo", line 491, in repositoryChanged
File "tortoisehg\hgqt\commit.pyo", line 527, in refresh
File "tortoisehg\hgqt\csinfo.pyo", line 411, in update
File "tortoisehg\hgqt\csinfo.pyo", line 324, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 270, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 210, in get_data
File "tortoisehg\hgqt\revpanel.pyo", line 59, in data_func
File "mercurial\context.pyo", line 113, in branch
File "mercurial\util.pyo", line 235, in __get__
File "mercurial\context.pyo", line 60, in _changeset
File "mercurial\changelog.pyo", line 181, in read
File "mercurial\revlog.pyo", line 905, in revision
File "mercurial\revlog.pyo", line 914, in _checkhash
RevlogError: integrity check failed on 00changelog.i:5891
~~~~https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1466.hgignore problem2020-06-21T10:09:08ZBitbucket Importer.hgignore problem*Created originally on Bitbucket by [bruzo (Konstantin Burlachenko)](https://bitbucket.org/%7B501d01f1-f277-4d38-bf7c-71b90531644b%7D/)*
1) In repository exist ".hgignore" file with simple glob syntax. File has utf-8 encoding without ut...*Created originally on Bitbucket by [bruzo (Konstantin Burlachenko)](https://bitbucket.org/%7B501d01f1-f277-4d38-bf7c-71b90531644b%7D/)*
1) In repository exist ".hgignore" file with simple glob syntax. File has utf-8 encoding without utf-8 prefix.
2) Try to call "hg st . -m" .hgignore content is ingored
3) Procmon.exe (Sysinternals) said about Buffer Overflow exception
when try to "read" .hgignore
Windows 7 Ultimate x64,
Turtoise-2.2.-hg-2.0-x64
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1459One character cursor offset in commit comment editbox2020-06-21T10:08:57ZBitbucket ImporterOne character cursor offset in commit comment editbox*Created originally on Bitbucket by [GiuseppePiscopo (Giuseppe Piscopo)](https://bitbucket.org/%7B2f88ddb7-b54e-4091-857a-0a22ecb120b0%7D/)*
Hello. Thanks as usual for the great SW. This is a funny visual issue that I think I've been no...*Created originally on Bitbucket by [GiuseppePiscopo (Giuseppe Piscopo)](https://bitbucket.org/%7B2f88ddb7-b54e-4091-857a-0a22ecb120b0%7D/)*
Hello. Thanks as usual for the great SW. This is a funny visual issue that I think I've been noticing since the beginning of using THg. I'll try to explain it with the to attached pictures. Version is 2.1.4
When I start writing the commit comment in its editbox, the blinking cursor black bar is of course right next to the letter I just typed (see picture 'Before'). But there are case when, after I write some letter, the cursor gets displaced by 1 letter to the right, with respect to the actual caret position (see picture 'After').
In the two attached pictures, until I press 'f', everything is ok. But as soon as I press the 'i', the cursor sits 1 more position to the right. If I type a further letter, say 'c', that is printed not at the cursor position but next to the 'i' (see picture 'After 2'). Which is all a little confusing if you are editing in the middle of some text.
It looks to me that apparently this case has to do with font ligatures. When I print 'i' after the 'f', they "get together" and it seems like they take the space of a single letter, leaving a blank between the 'i' and the blinking bar.
Thanks for your attention.
*Attachments:* [TortoiseHg_Workbench_Before](/uploads/8c9faa75632dcfa640ccc3c1bf4862cc/TortoiseHg_Workbench_Before.png)[TortoiseHg_Workbench_After](/uploads/ac8e1590a688b73c3ed3c6247898d2cb/TortoiseHg_Workbench_After.png)[TortoiseHg_Workbench_After_2](/uploads/02e4f7a4e923b02ab5c7ea041b5556cc/TortoiseHg_Workbench_After_2.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1418Error occur at actualisation of the commit window.2020-06-21T10:08:05ZBitbucket ImporterError occur at actualisation of the commit window.*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: --nofork commit
** CWD: D:\Data\Projekt05
** Encoding: cp1252
** Extensions loaded:
** Python version:...*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: --nofork commit
** CWD: D:\Data\Projekt05
** Encoding: cp1252
** Extensions loaded:
** 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.3
Traceback (most recent call last):
File "tortoisehg\hgqt\status.pyo", line 472, in run
File "mercurial\subrepo.pyo", line 438, in dirty
File "mercurial\context.pyo", line 830, in dirty
File "mercurial\context.pyo", line 761, in modified
File "mercurial\util.pyo", line 235, in __get__
File "mercurial\context.pyo", line 715, in _status
File "mercurial\localrepo.pyo", line 1303, in status
File "mercurial\context.pyo", line 373, in cmp
File "mercurial\context.pyo", line 947, in data
File "mercurial\localrepo.pyo", line 688, in wread
File "mercurial\scmutil.pyo", line 146, in read
MemoryError
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1414TortoiseHG workbench crashes on start2020-06-21T10:08:00ZBitbucket ImporterTortoiseHG workbench crashes on start*Created originally on Bitbucket by [Sergej (Sergej Zagursky)](https://bitbucket.org/%7B62474de6-8f9c-4f86-a347-2d48ed7d9372%7D/)*
~~~~
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: workbench
** CWD: /ho...*Created originally on Bitbucket by [Sergej (Sergej Zagursky)](https://bitbucket.org/%7B62474de6-8f9c-4f86-a347-2d48ed7d9372%7D/)*
~~~~
#!python
** Mercurial version (2.0). TortoiseHg version (2.2)
** Command: workbench
** CWD: /home/szagurskiy
** Encoding: UTF-8
** Extensions loaded: hgsubversion, mq, rebase, hggit, record
** Python version: 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1]
** Qt-4.7.3 PyQt-4.8.5
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/run.py", line 547, in __call__
dlg = dlgfunc(ui, *args, **opts)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/workbench.py", line 924, in run
w = Workbench()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/workbench.py", line 70, in __init__
self.restoreSettings()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/workbench.py", line 859, in restoreSettings
self._openRepo(path, False)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/workbench.py", line 776, in _openRepo
repo = thgrepo.repository(path=root)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thgrepo.py", line 55, in repository
repo._pyqtobj = ThgRepoWrapper(repo)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thgrepo.py", line 83, in __init__
self.recordState()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thgrepo.py", line 154, in recordState
self._parentnodes = self._getrawparents()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thgrepo.py", line 166, in _getrawparents
return self.repo.opener('dirstate').read(40)
AttributeError: 'thgrepository' object has no attribute 'opener'
~~~~
*Attachments:* [TortoiseHgQt.ini](/uploads/9dec9b07142f4ccde8886c93eac31046/TortoiseHgQt.ini)[thg-reporegistry.xml](/uploads/887ab89abe0ba911f25f9f7c3fd143f8/thg-reporegistry.xml)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1394Visual diff - optimization2020-06-21T10:07:33ZBitbucket ImporterVisual diff - optimization*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Doing visual diff between two revisions with lots of files changed takes significantly more time t...*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Doing visual diff between two revisions with lots of files changed takes significantly more time than running hg diff from command line. The reason for this is Thg copying files to temporary directories, which is fine when using a diff tool that supports directory diffs, but almost entirely pointless if you eventually end up with a window that lists all changed files and have to click on each of them to get one diff at a time. In the latter case it would be better to display the list instantly (without copying files) and produce diffs as user clicks on each file.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1389Workbench constantly showing 'Refresh status...' message2020-06-21T10:07:27ZBitbucket ImporterWorkbench constantly showing 'Refresh status...' message*Created originally on Bitbucket by [bels (Stephen Belknap)](https://bitbucket.org/%7B3e8e7e8e-fe62-4032-a93f-8329955ee1ac%7D/)*
I don't know how it gets into this state (restarting the workbench seems to fix it), but I notice every so ...*Created originally on Bitbucket by [bels (Stephen Belknap)](https://bitbucket.org/%7B3e8e7e8e-fe62-4032-a93f-8329955ee1ac%7D/)*
I don't know how it gets into this state (restarting the workbench seems to fix it), but I notice every so often that the status bar at the bottom of the Workbench is constantly showing the 'Refresh Status ...' message. I have 7 tabs/repositories open in it, and all of them are on the Revision Details option.
I don't really know how to get more information (closing the Workbench does not show an error)..
{{{
TortoiseHg
version 2.1.3
with Mercurial-1.9.2, Python-2.6.6, PyQt-4.8.3, Qt-4.7.1
}}}https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1388QRefresh on any applied patch (not only a top)2020-06-21T10:07:26ZBitbucket ImporterQRefresh on any applied patch (not only a top)*Created originally on Bitbucket by Anonymous*
Now to apply changes to arbitrary (if it isn't a top) patch I need
# Shelve changes
# Unapply the patches up to the necessary.
# Unshelve changes
# Apply patches back
Just do it aut...*Created originally on Bitbucket by Anonymous*
Now to apply changes to arbitrary (if it isn't a top) patch I need
# Shelve changes
# Unapply the patches up to the necessary.
# Unshelve changes
# Apply patches back
Just do it automatically behind UI and report conflicts if they appears. (Each patch contains list of changed files so it easy to check if changes depends on some patches at least on a file level)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1382Log message viewer needs word-wrap2021-11-04T18:26:28ZBitbucket ImporterLog message viewer needs word-wrap*Created originally on Bitbucket by Anonymous*
The log message editor has a word-wrapping feature that allows you to enter multiple-line messages that are really a single physical line. When viewing these later the log message viewer p...*Created originally on Bitbucket by Anonymous*
The log message editor has a word-wrapping feature that allows you to enter multiple-line messages that are really a single physical line. When viewing these later the log message viewer pane does not support word-wrap and requires you to scroll horizontally (a long way if your commit messages are long).
The viewer should either support word-wrap or the word-wrap feature in the editor should support a hard-word-wrapping feature.
The latter is probably better, ultimately, since the resulting log messages can also be viewed effectively in the console. However, the former is also important at this point due to the existence of long log messages in the field.
https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1348Mark repositories with uncommited/unpushed changes in repository registry2020-06-21T10:06:38ZBitbucket ImporterMark repositories with uncommited/unpushed changes in repository registry*Created originally on Bitbucket by Anonymous*
Mark repositories with uncommited/unpushed changes in repository registry *Created originally on Bitbucket by Anonymous*
Mark repositories with uncommited/unpushed changes in repository registry https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1346Return to previously opened tab after closing current tab2020-06-21T10:06:35ZBitbucket ImporterReturn to previously opened tab after closing current tab*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Currently after closing a repo tab Thg switches to the tab that was next to closed tab. This behav...*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Currently after closing a repo tab Thg switches to the tab that was next to closed tab. This behaviour is very annoying when working with subrepos which are opened often but quickly closed. It would be great if Thg restored a previously opened tab after closing current tab.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1340Diff on files moved to subrepo2020-06-21T10:06:29ZBitbucket ImporterDiff on files moved to subrepo*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Selecting visual diff for files that were removed and then added on a subrepo fails with error win...*Created originally on Bitbucket by [czarnyczarodziej (Piotr Klecha)](https://bitbucket.org/%7B0bfb38f6-a6af-4583-8336-9958c07dac8d%7D/)*
Selecting visual diff for files that were removed and then added on a subrepo fails with error window:
Operation aborted:
path '<path>' is inside nested repo 'subrepo'.
This happens only when selecting visual diff from revision details for revisions before file was moved to subrepo.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/1321Memory error viewing file2020-06-21T10:06:06ZBitbucket ImporterMemory error viewing file*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Mercurial version (1.9.1). TortoiseHg version (2.1.2)
** Command:
** CWD: C:\Documents and Settings\anwright
** Encoding: cp1252
** Extensions loaded: bfiles
** Pyt...*Created originally on Bitbucket by Anonymous*
{{{
#!python
** Mercurial version (1.9.1). TortoiseHg version (2.1.2)
** Command:
** CWD: C:\Documents and Settings\anwright
** Encoding: cp1252
** Extensions loaded: bfiles
** 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\fileview.pyo", line 336, in displayFile
File "tortoisehg\hgqt\filedata.pyo", line 26, in __init__
File "tortoisehg\hgqt\filedata.pyo", line 327, in readStatus
File "tortoisehg\hgqt\filedata.pyo", line 40, in checkMaxDiff
File "mercurial\revlog.pyo", line 338, in rawsize
File "mercurial\bundlerepo.pyo", line 120, in revision
MemoryError
}}}