Displaying current working directory changes with Ctrl+S revision set query?
This is what I get in a default view:
This is after filtering by non-pushed stuff (via not public() or (heads(public()) and not closed()) or .
):
I'd like to also display my current changes to be able to commit them, but if I add or wdir()
(according to https://www.mercurial-scm.org/repo/hg/help/revsets) I get b"unknown revision '2147483646'"
error
#!python
** Mercurial version (5.6). TortoiseHg version (5.6+80-a3bcac8c7318)
** Command:
** CWD: /home/iivanov
** Encoding: UTF-8
** Extensions loaded: clonebundles, extdiff, largefiles, graphlog, histedit, rebase, strip, mq, purge, tortoisehg.util.configitems
** Python version: 3.8.5 (default, Sep 5 2020, 10:50:12) [GCC 10.2.0]
** System: Linux dssl 4.19.147-1-MANJARO #1 SMP Wed Sep 23 18:00:56 UTC 2020 x86_64
** Qt-5.15.1 PyQt-5.15.1 QScintilla-2.11.5
Traceback (most recent call last):
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/localrepo.py", line 1672, in __getitem__
node = self.changelog.node(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/revlog.py", line 876, in node
return self.index[rev][7]
IndexError: revlog index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 357, in _onQueryFinished
self._applyRevsetResult(revs)
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 366, in _applyRevsetResult
self._rebuildGraph()
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/repomodel.py", line 269, in _rebuildGraph
newgraph.build_nodes(self._fill_step)
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 965, in build_nodes
for gnode in self.grapher:
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 605, in _iter_graphnodes
for ctx, parents in dag.walk():
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 524, in walk
for ctx in self._iter_revs(repo, lambda rev: True):
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/graph.py", line 339, in _iter_revs
yield repo[curr_rev]
File "/home/iivanov/.local/lib/python3.8/site-packages/tortoisehg/hgqt/thgrepo.py", line 814, in __getitem__
changectx = super(thgrepository, self).__getitem__(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/hgext/largefiles/reposetup.py", line 48, in __getitem__
ctx = super(lfilesrepo, self).__getitem__(changeid)
File "/home/iivanov/.local/lib/python3.8/site-packages/mercurial/localrepo.py", line 1716, in __getitem__
raise error.RepoLookupError(
mercurial.error.RepoLookupError: b"unknown revision '2147483646'"