RepoLookupError: unknown revision when previewing incoming

Issue #1581 resolved
created an issue

Received this error while trying to preview incoming changesets.

The repository is open in a tab, and has 5 unapplied patches sitting in MQ. The patch queue is displayed. When I select a changeset that's actually part of the repository, then preview the 2 incoming changesets, everything works normally. However, if I select one of the patches in the queue, then preview incoming, an error message pops up indicating that the selected patch filename is an unknown revision. Dismissing the error message renders the repository tab unusable (controls like the search filter disabled), forcing you to reopen the repository.



Mercurial version (2.0.2). TortoiseHg version (2.2.2) Command: CWD: T:\Code\unstable Encoding: utf8 Extensions loaded: mq, mercurial_keyring, rebase, convert Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (5, 1, 2600, 2, 'Service Pack 3') Processor architecture: x86 ** Qt-4.7.4 PyQt-4.8.6 Traceback (most recent call last): File "tortoisehg\hgqt\repowidget.pyo", line 424, in setBundle File "tortoisehg\hgqt\repowidget.pyo", line 832, in reload File "tortoisehg\hgqt\repowidget.pyo", line 891, in reloadTaskTab File "tortoisehg\hgqt\revdetails.pyo", line 299, in reload File "tortoisehg\hgqt\revdetails.pyo", line 274, in onRevisionSelected File "mercurial\localrepo.pyo", line 618, in changectx File "tortoisehg\hgqt\thgrepo.pyo", line 288, in getitem File "mercurial\localrepo.pyo", line 206, in getitem File "mercurial\context.pyo", line 28, in init File "mercurial\localrepo.pyo", line 589, in lookup RepoLookupError: unknown revision '5657.diff'


Comments (2)

  1. Log in to comment