thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2021-06-28T14:54:15Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5727Cursor in commit message text area is an arrow instead of a caret2021-06-28T14:54:15Zphp4fanCursor in commit message text area is an arrow instead of a caretSteps to reproduce:
- open a repository
- click on any changeset
- move the mouse cursor into the commit message textarea
**EXPECTED:** even if not editable, this is still a textarea, so the mouse cursor should be a caret (just like it...Steps to reproduce:
- open a repository
- click on any changeset
- move the mouse cursor into the commit message textarea
**EXPECTED:** even if not editable, this is still a textarea, so the mouse cursor should be a caret (just like it is if you move the cursor into the file diff view)
**OBSERVED: ** the cursor is an arrow as if it wan't inside a text area. Note that you can select text as expected, but you won't know that unless you try.
See the screenshot. I know, it's a minor issue, but still an issue.
![image](/uploads/2119039436640067b49f8a4e551a4adc/image.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5720Frequent error on closing TortoiseHg Workbench2021-05-25T13:59:59ZPandu POLUANFrequent error on closing TortoiseHg WorkbenchI frequently see an error dialog box upon closing TortoiseHg.
Attached is the [tortoisehg-bugreport-2021-05-23-18-42.txt](/uploads/f7666a6f8f9607466dd99e3203259420/tortoisehg-bugreport-2021-05-23-18-42.txt) file, saved from the error di...I frequently see an error dialog box upon closing TortoiseHg.
Attached is the [tortoisehg-bugreport-2021-05-23-18-42.txt](/uploads/f7666a6f8f9607466dd99e3203259420/tortoisehg-bugreport-2021-05-23-18-42.txt) file, saved from the error dialog box.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5710feature: option to keep actions and search bar status in sync over all reposi...2021-04-12T21:23:21ZKPOPfeature: option to keep actions and search bar status in sync over all repositoriesAdd an option to keep the action state synchronised between all repositories. That way, selecting "commit" in the tool bar will set all tabs to the commit action.Add an option to keep the action state synchronised between all repositories. That way, selecting "commit" in the tool bar will set all tabs to the commit action.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5704"Update" disabled after pull2021-07-24T10:19:24ZTom Hartland"Update" disabled after pullThis is very minor, but annoying...
- Select "Working Directory"
- Right click on "Working Directory" row ("Update..." is correctly disabled)
- Pull new changes (THG automatically selects the head revision of pulled revisions)
- Right c...This is very minor, but annoying...
- Select "Working Directory"
- Right click on "Working Directory" row ("Update..." is correctly disabled)
- Pull new changes (THG automatically selects the head revision of pulled revisions)
- Right click on head revision ("Update..." continues to be disabled, which is incorrect)
You have to click off the head revision, and back onto it for the "Update..." to be enabledhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5691Vertical scrolling "jumps" position when THG has to load more rows - it shoul...2021-02-18T12:53:27ZDavid HollmanVertical scrolling "jumps" position when THG has to load more rows - it should retain the original list positionHere's the scenario...
0. Open a fairly large repository in THG Workbench
1. Go to either the Revision Details or Commit views (widgets?)
2. Scroll downwards by dragging the vertical scrollbar
3. Eventually THG gets to a point where it ...Here's the scenario...
0. Open a fairly large repository in THG Workbench
1. Go to either the Revision Details or Commit views (widgets?)
2. Scroll downwards by dragging the vertical scrollbar
3. Eventually THG gets to a point where it has to load more rows from HG. (There is a small pause here which seems to indicate this). Note that the scrollbar position will be nearly at the bottom.
4. After the pause the scrollbar position is about the same - but this is not desired, _it is the visible rows which should remain the same_. The effect is that you have now "jumped" a huge distance in the list.
5. Scroll back upwards to try and find your place...
Windows 10,
TortoiseHg
version 5.6.1
with Mercurial-5.6.1, Python-2.7.17, PyQt-5.13.2, Qt-5.9.9https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5690Columns unreasonably sized when you open a repository2023-07-31T22:25:22Zteo1978Columns unreasonably sized when you open a repository## Steps to reproduce:
1. Open some repository (to be sure to reproduce, pick one that has some commit with a very long message)
2. Manually modify column widths in the commit history pane
3. Open another repository
## Expected
At ste...## Steps to reproduce:
1. Open some repository (to be sure to reproduce, pick one that has some commit with a very long message)
2. Manually modify column widths in the commit history pane
3. Open another repository
## Expected
At step 1, the width of the columns out of the box should be reasonable.
While i understand that there's no set of sizes that will be perfect for all screen sizes and for everybody's taste, I do expect it to be reasonable. If my window is big enough, all columns should initially fit inside the total width without a horizontal scroll bar, and their relative sizes should be something reasonable. For example, columns like "Phase" or "Local time" have contents whose width is easily predictable, the "Description" column should be the widest, etc. It's not that difficult to have a starting configuration that will work in most cases.
At step 3, the newly open repository should initially have the columns arranged exactly like the ones in the previos repository that I adjusted manually. While I don't expect my changes to apply to already open tabs, it's certainly reasonable to expect that new tabs that I'll open will inherit the same arrangement for the columns
## Observed
At step 1: the width of columns appear to be utterly random, especially that of Description column, often so insanely wide that the total width of all columns exceed the width of the window and a horizontal scroll bar appears.
So, in order to be able to see the last columns (in my case author, date/time and phase), I need to scroll to the right, and then manually adjust column widths before I start working.
Now I have just found out that it's not actually random. What happens is the Description column width is dictated by the longest commit message (i.e. description) in the whole history (even if that's far down in the history).
That's not a sensible default. It's far better to have all columns visible by default, and the description truncated (and then I'll resize the columns manually if I'm not happy with that), than to have the rightmost columns outside the window and force me to do a lot of work just to see the most basic stuff, only for the sake of accomodating the exceptionally long descriptions that are not even within the vertical scroll range to begin with.
Then whenever I open a new repository, it will again start with column widths dictated by the same algorithm, while it would be better to have new tabs inherit the arrangement of the last used tab.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5689After cloning TortoiseHG Workbench is launched2021-02-14T22:42:10ZMickAfter cloning TortoiseHG Workbench is launchedPerhaps this is a question rather than an issue.
When using Windows File Explorer extension, right clicking in a folder selecting TortoiseHg -> Clone. It displays the Clone dialog, you enter the details click clone. It successfully clon...Perhaps this is a question rather than an issue.
When using Windows File Explorer extension, right clicking in a folder selecting TortoiseHg -> Clone. It displays the Clone dialog, you enter the details click clone. It successfully clones the source repository after which it is launching the TortoiseHg Workbench.
I don't actually want or need the Workbench to be displayed after cloning, does anyone know how to switch this off such that the TortoiseHg Workbench isn't launched after the repository has been cloned?
If the answer is there is no way to switch this off can we have one? Either a global switch to turn this off and/or a checkbox on the clone dialog "Launch Workbench after clone" which you can uncheck to not launch the workbench after the repository has been cloned.https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5686{SELECTEDFILES} variable ends up blank in custom tool?2021-02-18T12:47:38ZDavid Hollman{SELECTEDFILES} variable ends up blank in custom tool?I was trying to use the `{SELECTEDFILES}` variable / macro in a THG custom tool, but it always seems to come up blank when the custom tool is run.
Here's what I have in my tool:
![image](/uploads/fd0ffea361cd64a620463ded33ef34ee/image....I was trying to use the `{SELECTEDFILES}` variable / macro in a THG custom tool, but it always seems to come up blank when the custom tool is run.
Here's what I have in my tool:
![image](/uploads/fd0ffea361cd64a620463ded33ef34ee/image.png)
From the INI file:
```
HG_shelve.command = hg shelve {SELECTEDFILES}
HG_shelve.enable = iswd
HG_shelve.icon = go-next
HG_shelve.label = HG_shelve
HG_shelve.showoutput = True
HG_shelve.tooltip = HG_shelve
```
What gets printed in the console area is just this:
`% hg shelve`
regardless of whether I have any files selected or not.
I've tried selecting both with the checkboxes and also just CTRL-clicking, neither works.
I've used the `{ROOT}` variable, and that works...
Am I doing something wrong? Or is this a bug?
I'm using THG 5.6.1.
Thanks!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5685annotate prefer show in graph obsolete revisions instead actual2021-02-06T05:38:02Zalexrayneannotate prefer show in graph obsolete revisions instead actualHallow!
use thg 5.6.1 with tirn on optimised graph setup
have made few rebases of a parts of tree.
Now history/annotate shows <obsolete,extinct> revisions subtree, that alredy absent after rebase.
And actual revisions - after rebase,...Hallow!
use thg 5.6.1 with tirn on optimised graph setup
have made few rebases of a parts of tree.
Now history/annotate shows <obsolete,extinct> revisions subtree, that alredy absent after rebase.
And actual revisions - after rebase, are not shown in annotation!https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5682packaging for debian/ubuntu2021-02-04T01:21:10ZMatti Picuspackaging for debian/ubuntuIt is a shame thg is not available for `sudo apt install` on ubuntu 20.04. Any ideas what needs to be done to make it happen?It is a shame thg is not available for `sudo apt install` on ubuntu 20.04. Any ideas what needs to be done to make it happen?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5681Encoding problem during "Detect Copies/Renames" and commit procedure.2021-02-03T10:40:36ZChristos SevastiadisEncoding problem during "Detect Copies/Renames" and commit procedure.I have used in Windows 10 different codepages. The current default is OEM737, but previously was UTF-8. When different codepages have been used then the following error arises. I tried setting the ui.encoding to UTF-8 but it didn't work....I have used in Windows 10 different codepages. The current default is OEM737, but previously was UTF-8. When different codepages have been used then the following error arises. I tried setting the ui.encoding to UTF-8 but it didn't work.
```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\WINDOWS
** Encoding: cp1253
** Extensions loaded: closehead, fetch, histedit, gpg, largefiles, purge, strip, mq, rebase, tortoisehg.util.configitems
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [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.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\guess.pyo", line 333, in showDiff
File "tortoisehg\util\hglib.pyo", line 165, in fromunicode
File "encodings\cp1253.pyo", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-2: character maps to <undefined>
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/56803-way diff button does nothing2022-09-28T22:48:44Zteo19783-way diff button does nothingI'm clicking the "3-way diff" button here. This used to open a tool that showed a 3-way diff (duh), now it just does nothing. It doesn't even show an error message.
![image](/uploads/a8be715489a61a06be51b7ef6ca78262/image.png)I'm clicking the "3-way diff" button here. This used to open a tool that showed a 3-way diff (duh), now it just does nothing. It doesn't even show an error message.
![image](/uploads/a8be715489a61a06be51b7ef6ca78262/image.png)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5678Crash upon bootup2021-04-01T22:25:02ZJohn KedzierskiCrash upon bootupHi,
I'm attempting to open workbench to commit a few changes - and I keep receiving this message:
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: G:\ProductAnalytics...Hi,
I'm attempting to open workbench to commit a few changes - and I keep receiving this message:
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: G:\ProductAnalytics\XXX\XXX
** Encoding: cp1252
** Extensions loaded: 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\manifestmodel.pyo", line 376, in fetchMore
File "tortoisehg\hgqt\manifestmodel.pyo", line 432, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 605, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyo", line 635, in _populatesubrepos
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\context.pyo", line 160, in substate
File "mercurial\subrepoutil.pyo", line 52, in state
File "mercurial\context.pyo", line 80, in __contains__
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\context.pyo", line 405, in _manifest
File "mercurial\context.pyo", line 409, in _manifestctx
File "mercurial\manifest.pyo", line 1672, in __getitem__
File "mercurial\manifest.pyo", line 1702, in get
File "mercurial\manifest.pyo", line 1552, in rev
File "mercurial\revlog.pyo", line 627, in rev
LookupError: 00manifest.i@6a97dd002a2c: no node
Any advice on how this can be resolved would be greatly appreciated!
Best,
Johnhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5677MQ: Implement keyboard shortcuts for some patch queue actions (Apply/Unapply ...2021-02-03T10:52:03Zthomasd8MQ: Implement keyboard shortcuts for some patch queue actions (Apply/Unapply one patch, Unapply all patches)Using MQ (Patch Queue) would be so much more efficient with keyboard shortcuts!
I suggest the following contextual shortcuts (with focus in Patch Queue widget):
```
Ctrl++ (Ctrl+Plus): Apply one patch
Ctrl+- (Ctrl+Minus): Unapply one p...Using MQ (Patch Queue) would be so much more efficient with keyboard shortcuts!
I suggest the following contextual shortcuts (with focus in Patch Queue widget):
```
Ctrl++ (Ctrl+Plus): Apply one patch
Ctrl+- (Ctrl+Minus): Unapply one patch
Ctrl+Shift+Enter: Unapply all patches
```
This is consistent with option 3 of my proposal in #5509:
```
Shift+Enter: *Unapply up to this patch*
Enter: Go to patch (*Apply up to this patch*, existing keyboard shortcut)
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5671History dialog crashes when cwd is in a deleted directory2021-01-07T15:02:07ZmuxatorHistory dialog crashes when cwd is in a deleted directoryThis happened several times today:
I had open:
- the main THG window
- a history window on a specific file
- a terminal in the repo root
I have done:
- a local histedit
- pulled from the remote repo the original history (this is needed...This happened several times today:
I had open:
- the main THG window
- a history window on a specific file
- a terminal in the repo root
I have done:
- a local histedit
- pulled from the remote repo the original history (this is needed for force-pushing with hg-git)
- force pushed to the remote (not relevant)
- stripped the old history
A series of scary crashes happened. Posting here the tracebacks.
Sorry, but I was not really paying attention to thg, so **the title may be inappropriate**: I was in "in the zone" when the tool exploded on me.
Versions:
- tortoisehg 2eabd3bef7a2 (latest default as of today)
- hg 5.6.1+6-b308d750de82
- linux
```
#!python
** Mercurial version (5.6.1+6-b308d750de82+20210105). TortoiseHg version (unknown)
** Command: history somescript.sh
** CWD: .
** Encoding: UTF-8
** Extensions loaded: extdiff, hggit, histedit, strip, mq, rebase, tortoisehg.util.configitems
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64
** Qt-5.12.8 PyQt-5.14.1 QScintilla-2.11.2
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 252, in _reloadGraph
self._rebuildGraph()
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 269, in _rebuildGraph
newgraph.build_nodes(self._fill_step)
File "<base>/thg/tortoisehg/hgqt/graph.py", line 965, in build_nodes
for gnode in self.grapher:
File "<base>/thg/tortoisehg/hgqt/graph.py", line 605, in _iter_graphnodes
for ctx, parents in dag.walk():
File "<base>/thg/tortoisehg/hgqt/graph.py", line 688, in walk
for pfctx in fctx.parents():
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 1123, in parents
parents = self._filelog.parents(self._filenode)
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 814, in _filenode
return self._changectx.filenode(self._path)
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 1261, in _changectx
return self._repo[self._changeid]
File "<base>/thg/tortoisehg/hgqt/thgrepo.py", line 814, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 1672, in __getitem__
node = self.changelog.node(changeid)
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 110, in __get__
return super(_basefilecache, self).__get__(unfi, type)
File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 1695, in __get__
entry.obj = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 1510, in changelog
self.dirstate.prefetch_parents()
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 110, in __get__
return super(_basefilecache, self).__get__(unfi, type)
File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 1695, in __get__
entry.obj = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 1519, in dirstate
return self._makedirstate()
File "/usr/lib/python3/dist-packages/mercurial/localrepo.py", line 1525, in _makedirstate
return dirstate.dirstate(
File "/usr/lib/python3/dist-packages/mercurial/dirstate.py", line 104, in __init__
self._cwd
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/dirstate.py", line 247, in _cwd
return encoding.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/mq.py", line 898, in reload
self._loadQQueues()
File "<base>/thg/tortoisehg/hgqt/mq.py", line 920, in _loadQQueues
combo.addItems(hglib.getqqueues(repo))
File "<base>/thg/tortoisehg/util/hglib.py", line 342, in getqqueues
ui = repo.ui.copy()
File "/usr/lib/python3/dist-packages/mercurial/ui.py", line 351, in copy
return self.__class__(self)
File "/usr/lib/python3/dist-packages/mercurial/ui.py", line 273, in __init__
self.fixconfig()
File "/usr/lib/python3/dist-packages/mercurial/ui.py", line 535, in fixconfig
root = root or encoding.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2231, in decompress
compressor = self._decompressors[t]
KeyError: <memory at 0x7f767e777f40>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2234, in decompress
engine = util.compengines.forrevlogheader(t)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 217, in forrevlogheader
return self._engines[self._revlogheaders[header]]
KeyError: <memory at 0x7f767e777f40>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/commit.py", line 729, in repositoryChanged
self._refreshWorkingState()
File "<base>/thg/tortoisehg/hgqt/commit.py", line 741, in _refreshWorkingState
self.refresh()
File "<base>/thg/tortoisehg/hgqt/commit.py", line 803, in refresh
self.wdirinfo.update()
File "<base>/thg/tortoisehg/hgqt/csinfo.py", line 485, in update
markups = self.get_markup(item)
File "<base>/thg/tortoisehg/hgqt/csinfo.py", line 392, in get_markup
return self.info.get_markup(item, self, self.ctx, self.custom, **kargs)
File "<base>/thg/tortoisehg/hgqt/csinfo.py", line 341, in get_markup
value = self.get_data(item, *args)
File "<base>/thg/tortoisehg/hgqt/csinfo.py", line 269, in get_data
return custom['data'](widget, item, ctx)
File "<base>/thg/tortoisehg/hgqt/revpanel.py", line 75, in data_func
if hasattr(pctx, 'branch') and pctx.branch() != ctx.branch():
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2238, in decompress
raise error.RevlogError(_(b'unknown compression type %r') % t)
mercurial.error.RevlogError: b'unknown compression type <memory at 0x7f767e777f40>'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2231, in decompress
compressor = self._decompressors[t]
KeyError: <memory at 0x7f7663ebc7c0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2234, in decompress
engine = util.compengines.forrevlogheader(t)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 217, in forrevlogheader
return self._engines[self._revlogheaders[header]]
KeyError: <memory at 0x7f7663ebc7c0>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 252, in _reloadGraph
self._rebuildGraph()
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 269, in _rebuildGraph
newgraph.build_nodes(self._fill_step)
File "<base>/thg/tortoisehg/hgqt/graph.py", line 965, in build_nodes
for gnode in self.grapher:
File "<base>/thg/tortoisehg/hgqt/graph.py", line 605, in _iter_graphnodes
for ctx, parents in dag.walk():
File "<base>/thg/tortoisehg/hgqt/graph.py", line 688, in walk
for pfctx in fctx.parents():
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 1123, in parents
parents = self._filelog.parents(self._filenode)
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 814, in _filenode
return self._changectx.filenode(self._path)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 293, in filenode
return self._fileinfo(path)[0]
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 276, in _fileinfo
if '_manifestdelta' in self.__dict__ or path in self.files():
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 578, in files
return self._changeset.files
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2238, in decompress
raise error.RevlogError(_(b'unknown compression type %r') % t)
mercurial.error.RevlogError: b'unknown compression type <memory at 0x7f7663ebc7c0>'
```
After clicking OK several times in the bug report dialog while writing this report, something worse happened:
The main window started displaying this error:
![image](/uploads/8749436369237d7edd9c8d8a110a446e/image.png)
And then this new stack trace popped up:
```
#!python
** Mercurial version (5.6.1+6-b308d750de82+20210105). TortoiseHg version (unknown)
** Command: history somescript.sh
** CWD: .
** Encoding: UTF-8
** Extensions loaded: extdiff, hggit, histedit, strip, mq, rebase, tortoisehg.util.configitems
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux Aspire-VN7-592G 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64
** Qt-5.12.8 PyQt-5.14.1 QScintilla-2.11.2
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 586, in _rawdata
branch = hglib.tounicode(ctx.branch())
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 586, in _rawdata
branch = hglib.tounicode(ctx.branch())
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 586, in _rawdata
branch = hglib.tounicode(ctx.branch())
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
text = textfunc(self, ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 710, in _getbranch
b = hglib.tounicode(ctx.branch())
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
text = textfunc(self, ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 783, in _getlog
return hglib.longsummary(ctx.description(), limit)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 660, in description
return self._changeset.description
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 596, in _rawdata
return self._getrevlabels(ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 790, in _getrevlabels
branch = ctx.branch()
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 596, in _rawdata
return self._getrevlabels(ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 790, in _getrevlabels
branch = ctx.branch()
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 663, in branch
return encoding.tolocal(self._changeset.extra.get(b"branch"))
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 584, in _rawdata
color = QColor(self._user_color(ctx.user()))
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 572, in user
return self._changeset.user
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
text = textfunc(self, ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 765, in _getauthor
user = ctx.user()
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 572, in user
return self._changeset.user
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 749, in decompress
chunk = dobj.decompress(data[pos:pos2])
zstd.ZstdError: zstd decompressor error: Unknown frame descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 535, in data
return self._safedata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 555, in _safedata
result = self._rawdata(index, role)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 575, in _rawdata
text = textfunc(self, ctx)
File "<base>/thg/tortoisehg/hgqt/repomodel.py", line 906, in <lambda>
AgeColumn: lambda self, ctx: hglib.age(ctx.date()).decode('utf-8'),
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 575, in date
return self._changeset.date
File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1747, in __get__
result = self.func(obj)
File "/usr/lib/python3/dist-packages/mercurial/context.py", line 527, in _changeset
return repo.changelog.changelogrevision(self.rev())
File "/usr/lib/python3/dist-packages/mercurial/changelog.py", line 524, in changelogrevision
text, sidedata = self._revisiondata(nodeorrev)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1865, in _revisiondata
rev, rawtext, validated = self._rawtext(node, rev, _df=_df)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1934, in _rawtext
bins = self._chunks(chain, df=_df, targetsize=targetsize)
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 1755, in _chunks
ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
File "/usr/lib/python3/dist-packages/mercurial/revlog.py", line 2240, in decompress
return compressor.decompress(data)
File "/usr/lib/python3/dist-packages/mercurial/utils/compression.py", line 757, in decompress
raise error.StorageError(
mercurial.error.StorageError: b'revlog decompress error: zstd decompressor error: Unknown frame descriptor'
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5669feature: hide topics2020-12-28T09:26:45Zvitidevfeature: hide topicsReally need the ability dynamically hide all revisions with topics, leaving only branches without topics - as if cloned without topicsReally need the ability dynamically hide all revisions with topics, leaving only branches without topics - as if cloned without topicshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5668topic filtering doesn't work2020-12-28T07:47:57Zvitidevtopic filtering doesn't workCombonox on filter bar
Btanch filtering work, but not topic filtering - the result is always an empty graphCombonox on filter bar
Btanch filtering work, but not topic filtering - the result is always an empty graphhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5667propose graphopt revisions order transforms2021-03-24T07:06:12Zalexraynepropose graphopt revisions order transformshallow!
here attached a bundle with brach, that provides graphopt.Graph with transformations that should give a bit comfort/handy
revision tree view.
Provided 2 transforms:
1) `parents_line_closer` - for selected revision it moves a li...hallow!
here attached a bundle with brach, that provides graphopt.Graph with transformations that should give a bit comfort/handy
revision tree view.
Provided 2 transforms:
1) `parents_line_closer` - for selected revision it moves a line of parents from first ancestor, right below target revision.
so, if it faaaar from inerested revision, it try to move them close to view
2) `reorder_for_merge` - for selected merge revision, it looks for revs that are above parents, and try to move them above
selected child.
After move descendants above merge point, it reduces length of lines to parents. And, possibly, reduces
some lines.
It intended to make a history more clear, and most intended - make a tree width as less as can.
Motivation:
--------------------
Second transform is a target of this work. It motivated by repo imported from git, that have such a big amount of merges, that ordered so inconvinient, that width of graph comes a few screens. and amount of lines to parents so big, that no any possibility to track them.
This kind of graphs comes from hggit behaviour - it imports revision not in date order, but per brach. so if say `release` branch have maaaaany merges from `dev` branch - you got a tree as wide flag.
To manage such a history, i has try to order revisions by date, but unfortunaly - order of revision not strongly meets date order. So need a reorder, that still keep DAG consistent, but recovers some historic-close order.
I guess, that merges order is most historic-like. And `reorder_for_merge` provide it.
How to use:
================
* UI
-----------------
1) context menus on a `graph` column now have a checkboxed liist of avail transforms. Just check what you need. Or Disable all.
context menus on `rev` column have item do disable all transforms.
This transforms apply over all tree.
2) context menus on revision item in graph column have submenu `transforms` - where can invoke avail transform per revision.
* config
-----------------
config ini can specify transforms that can be apply over tree on repo load.
in section `[tortoisehg]`, place
`<transform name> = boolean`
[graphopt-transforms.hg](/uploads/7cccca5261af52ee173215b73c0de0df/graphopt-transforms.hg)https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5665different behaviour close button in searching commits and text in file2020-12-16T11:52:58Zlong76different behaviour close button in searching commits and text in filein filter commits:
1) click close
2) search field empty
3) click close again
4) closed search bar
in searching text in file:
1) click close
2) closed search bar
maybe better set close button behaviour on first list?in filter commits:
1) click close
2) search field empty
3) click close again
4) closed search bar
in searching text in file:
1) click close
2) closed search bar
maybe better set close button behaviour on first list?https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5661Broken diff view in commit2020-12-06T10:24:59Zteo1978Broken diff view in commitHere's the "+/-" diff view of a file in a changeset as displayed in the bottom-right panel:
![image](/uploads/99d0e0c1e2c227ea4a188c1b398784ee/image.png)
The non-highlighted "}" in the middle of added lines makes no sense. There is no ...Here's the "+/-" diff view of a file in a changeset as displayed in the bottom-right panel:
![image](/uploads/99d0e0c1e2c227ea4a188c1b398784ee/image.png)
The non-highlighted "}" in the middle of added lines makes no sense. There is no possible situation where such an output could be correct. In the current version of the file, that "}" is right where you would expect it to be, indented with a few spaces, 4 more spaces than the one that follows. That line is added just like the ones above and below it, the whole function was added.
I'm using thg 36bc51ee4b75.