Source

thg-qt-mq / repoviewlookuperror.diff

Full commit
# HG changeset patch
# Parent 909c9cf02673f72588d4efef0ccf900445df0137
diff --git a/tortoisehg/hgqt/repoview.py b/tortoisehg/hgqt/repoview.py
--- a/tortoisehg/hgqt/repoview.py
+++ b/tortoisehg/hgqt/repoview.py
@@ -275,7 +275,7 @@ class HgRepoView(QTableView):
         except error.RepoError:
             self.showMessage.emit(_("Can't find revision '%s'")
                                   % hglib.tounicode(str(rev)))
-        except LookupError, e:
+        except error.LookupError, e:
             self.showMessage.emit(hglib.tounicode(str(e)))
         else:
             idx = self.model().indexFromRev(rev)