thg issueshttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues2021-04-29T16:30:07Zhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5666Provided .desktop file is broken/insufficient2021-04-29T16:30:07Zteo1978Provided .desktop file is broken/insufficientI use KDE but I'm pretty sure this applies to any desktop environment.
I like to have the applications I use the most "pinned" to the Task Manager, if that's how you call the bar at the bottom of the screen with launcher icons.
Because...I use KDE but I'm pretty sure this applies to any desktop environment.
I like to have the applications I use the most "pinned" to the Task Manager, if that's how you call the bar at the bottom of the screen with launcher icons.
Because there's no package for OpenSUSE, I installed THG from source.
I found a thg.desktop file buried in some sub-sub-folder. It's the only .desktop file that was provided; so either it's the official one (meaning it's the one I'm supposed to use) and it's incomplete/broken, or it's not in which case the lack of one is the issue.
I copied it to ~/.local/share/applications, so Thg would show up in the Application Launcher (bottom-left corner of the screen). From there, I "pinned" it to the task manager.
It has a couple of major issues:
- As is, the icon won't show up. I guess this is because the path to the icon is relative, so it has no way to find it. I had to edit the .desktop file and put the absolute path of the icon. Or maybe I should copy the icon too to some standard location. (The whole .desktop files thing seems to be based on the assumption that an application will install its stuff where it needs to be; when that's not the case, there's no way as a user to "discover" how to do it manually, unless you study the details of how the desktop environment works - but I'm rambling, that's an issue in the desktop environment). Anyway, if that is the case, then you should provide a script that helps installing the .desktop file AND icon into the proper place.
But more importantly:
- Once the icon is pinned to the task manager, when you click on it to open TortoiseHG, it forks off another icon. That is not how other applications work. Usually, the same icon that is originally pinned and works as a launcher icon, is the one that becomes highlighted when you click it to open the application. With two icon, when you want to give focus to the already open THG window, you need to be careful not to click on the wrong icon, or you'll launch another instance.
Note that this does NOT work:
- use the original launcher icon (.desktop file) to launch THG (forks out a new icon)
- right-click on the new icon and pin that one to the task manager.
- delete the old one
That does not work, and results in a pinned icon that won't launch THG (will give an error)
I guess the executable forks out a separate process (even with --nofork); however, there are other applications that do something similar (e.g. Thunderbird), and yet they are capable of avoiding creating an additional icon. So there's must be some way in the .desktop definition to allow the "forked"-or-whatever windows to identify themselves as belonging to the same original icon, or whatever.https://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/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/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/5670TortoiseHg Bug Report (commit.py)2021-01-25T10:20:59Zhe-lo-artTortoiseHg Bug Report (commit.py) #!python
** Mercurial version (4.5.3). TortoiseHg version (4.5.2)
** Command: --nofork
** CWD: /home/<username>
** Encoding: UTF-8
** Extensions loaded: purge, strip, tortoisehg.util.configitems
** Python ver... #!python
** Mercurial version (4.5.3). TortoiseHg version (4.5.2)
** Command: --nofork
** CWD: /home/<username>
** Encoding: UTF-8
** Extensions loaded: purge, strip, tortoisehg.util.configitems
** Python version: 2.7.17 (default, Sep 30 2020, 13:38:04) [GCC 7.5.0]
** System: Linux <hostname> 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64
** Qt-5.9.5 PyQt-5.10.1 QScintilla-2.10.2
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/commit.py", line 598, in mqPerformAction
return self.commit()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/commit.py", line 1082, in commit
assert not self.stwidget.partials
AssertionErrorhttps://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/5672IndexError: tuple index out of range when calling thg NONEXISTENT_COMMAND2021-02-03T10:52:02ZmuxatorIndexError: tuple index out of range when calling thg NONEXISTENT_COMMANDWhen invoking thg with an invalid command, such as:
```
$ thg NONEXISTENT_COMMAND
```
A crash happens.
Versions:
- Tortoisehg 2eabd3bef7a2 (latest default as of today)
- Mercurial 5.6.1+6-b308d750de82
- Linux
This is the stack trace o...When invoking thg with an invalid command, such as:
```
$ thg NONEXISTENT_COMMAND
```
A crash happens.
Versions:
- Tortoisehg 2eabd3bef7a2 (latest default as of today)
- Mercurial 5.6.1+6-b308d750de82
- Linux
This is the stack trace of the crash:
```
#!python
** Mercurial version (5.6.1+6-b308d750de82+20210105). TortoiseHg version (5.6.1+11-2eabd3bef7a2)
** Command: NONEXISTENT_COMMAND
** CWD: /somedir
** Encoding: UTF-8
** Extensions loaded:
** 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 "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 342, in _runcatch
return runcommand(ui, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 368, in runcommand
cmd, func, args, options, cmdoptions, alias = _parse(ui, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 301, in _parse
aliases, i = cmdutil.findcmd(alias, table, ui.config(b"ui", b"strict"))
File "/usr/lib/python3/dist-packages/mercurial/cmdutil.py", line 960, in findcmd
raise error.UnknownCommand(cmd, allcmds)
mercurial.error.UnknownCommand
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 138, in dispatch
return _runcatch(u, args)
File "/opt/mercurial/thg/tortoisehg/hgqt/run.py", line 356, in _runcatch
ui.warn(_("thg: unknown command '%s'\n") % inst.args[0])
IndexError: tuple index out of range
```https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5673ImportError: No module named pwd2021-01-07T15:13:01Zaleksandarv88ImportError: No module named pwd #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: ..\video4\python
** Encoding: cp1252
** Extensions loaded: tortoisehg.util.configitems
** Python versio... #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: ..\video4\python
** Encoding: cp1252
** Extensions loaded: 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\commit.pyo", line 619, in mqPerformAction
File "tortoisehg\hgqt\commit.pyo", line 1048, in commit
File "tortoisehg\hgqt\qtlib.pyo", line 1409, in getCurrentUsername
File "tortoisehg\hgqt\settings.pyo", line 1334, in __init__
File "tortoisehg\hgqt\settings.pyo", line 1317, in username
File "mercurial\windows.pyo", line 566, in username
File "getpass.pyo", line 157, in getuser
File "hgdemandimport\demandimportpy2.pyo", line 181, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named pwdhttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5674Error on double click search results2021-01-23T10:09:52Znchapman55Error on double click search resultsAfter double clicking on each search result in a long list of search results Tortoise will start throwing an error when double clicking on the results after awhile.
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6...After double clicking on each search result in a long list of search results Tortoise will start throwing an error when double clicking on the results after awhile.
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: mercurial_keyring, schemes, rebase, strip, histedit, keyword, largefiles, notify, purge, convert, big-push, commitextras, 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\fileview.pyo", line 1142, in _onAnnotateFinished
File "tortoisehg\hgqt\fileview.pyo", line 1148, in _updateView
File "tortoisehg\hgqt\fileview.pyo", line 1159, in _updaterevmargin
OverflowError: argument 2 overflowed: value must be in the range 0 to 4294967295https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5675Trying to open a repository2021-03-10T05:17:53ZNicholasTindallTrying to open a repository #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: C:\Users\Nico\Pictures
** Encoding: cp1252
** Extensions loaded: fetch, big-push, hgsubversion, tortoisehg.... #!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command: --nofork workbench
** CWD: C:\Users\Nico\Pictures
** Encoding: cp1252
** Extensions loaded: fetch, big-push, hgsubversion, 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\workbench.pyo", line 704, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 126, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 400, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 227, in repository
File "mercurial\hg.pyo", line 201, in _peerorrepo
File "hgsubversion\__init__.pyo", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "hgsubversion\svnrepo.pyo", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repohttps://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5676Crash when attempting to update to a different branch2021-01-25T21:40:26Zgambit823Crash when attempting to update to a different branch1. Set the branch filter to a specific branch
1. Right click and choose update on the tip of that branch
1. Click Update
1. App crashes:
```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
...1. Set the branch filter to a specific branch
1. Right click and choose update on the tip of that branch
1. Click Update
1. App crashes:
```
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: evolve, strip, mq, purge, rebase, share, 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\cmdui.pyo", line 648, in runCommand
File "tortoisehg\hgqt\update.pyo", line 369, in runCommand
File "tortoisehg\hgqt\update.pyo", line 315, in isclean
File "mercurial\context.pyo", line 1428, in modified
File "mercurial\util.pyo", line 1747, in __get__
File "mercurial\context.pyo", line 1393, in _status
File "mercurial\localrepo.pyo", line 3015, in status
File "mercurial\context.pyo", line 428, in status
File "mercurial\context.pyo", line 1961, in _buildstatus
File "mercurial\context.pyo", line 1868, in _dirstatestatus
File "mercurial\context.pyo", line 1544, in __contains__
File "mercurial\dirstate.pyo", line 287, in __getitem__
File "mercurial\dirstate.pyo", line 1472, in get
File "mercurial\util.pyo", line 1747, in __get__
File "mercurial\dirstate.pyo", line 1439, in _map
File "mercurial\dirstate.pyo", line 1681, in read
File "mercurial\util.pyo", line 1822, in wrapper
ValueError: overflow in dirstate
```https://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/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/5679how to use extdiff with thg?2021-01-29T19:49:12Zalexraynehow to use extdiff with thg?Hallow!
use thg from source py3 on win8.1
1) have enable extention extdiff
2) added to global cfg
```
[extdiff]
cmd.kdiff3 = D:\projects\hg\kdiff3.hggit\kdiff3\build-kdiff3-Desktop_Qt_5_12_10_MinGW_32_bit-Debug\debug\kdiff3.exe
```
3) tr...Hallow!
use thg from source py3 on win8.1
1) have enable extention extdiff
2) added to global cfg
```
[extdiff]
cmd.kdiff3 = D:\projects\hg\kdiff3.hggit\kdiff3\build-kdiff3-Desktop_Qt_5_12_10_MinGW_32_bit-Debug\debug\kdiff3.exe
```
3) try to find my external kdiff to use anywhere, but luck.
is thg supports extdiff setup?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/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/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/5683update to tortoisehg 5.7 failed2021-02-05T05:27:07Zlong76update to tortoisehg 5.7 failed #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9... #!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command: --nofork
** CWD: /home/user
** Encoding: UTF-8
** Extensions loaded:
** Python version: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
** System: Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64
** Qt-5.15.2 PyQt-5.15.2 QScintilla-2.11.6
This version of TortoiseHg requires Mercurial version 5.5.n to 5.6.n, but found 5.7
downloaded from https://www.mercurial-scm.org/https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/5684Crash opening old repo in Workbench after upgrade to 5.6.1 and 5.72021-03-10T05:17:53ZAndrew BarmeyerCrash opening old repo in Workbench after upgrade to 5.6.1 and 5.7Upgraded very old thg to version 5.6.1 and then 5.7 in order to open repo containing largefiles made with thg version 3.3.3. Both versions crash opening the repo. Here's traceback from the bug report:
```
#!python
** Mercurial v...Upgraded very old thg to version 5.6.1 and then 5.7 in order to open repo containing largefiles made with thg version 3.3.3. Both versions crash opening the repo. Here's traceback from the bug report:
```
#!python
** Mercurial version (5.7). TortoiseHg version (5.7)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded: churn, extdiff, hgsubversion, mercurial_keyring, purge, record, share, strip, tortoisehg.util.configitems, largefiles
** Python version: 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 712, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 127, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 401, in _createRepoWidget
File "tortoisehg\hgqt\thgrepo.pyo", line 704, in openRepoAgent
File "tortoisehg\hgqt\thgrepo.pyo", line 78, in repository
File "mercurial\hg.pyo", line 231, in repository
File "mercurial\hg.pyo", line 205, in _peerorrepo
File "hgsubversion\__init__.pyo", line 163, in reposetup
File "hgdemandimport\demandimportpy2.pyo", line 157, in __getattr__
File "hgdemandimport\demandimportpy2.pyo", line 97, in _load
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
File "hgsubversion\svnrepo.pyo", line 32, in <module>
File "hgdemandimport\demandimportpy2.pyo", line 284, in _demandimport
File "hgdemandimport\demandimportpy2.pyo", line 44, in _hgextimport
ImportError: No module named repo
```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!