mercurial/revlog.py
changeset 7062 efc579fdaf69
parent 6912 b92baef99ebf
child 7089 c57b30f1bc15
--- a/mercurial/revlog.py	Thu Oct 02 16:22:02 2008 +0200
+++ b/mercurial/revlog.py	Sat Oct 04 10:14:39 2008 +0200
@@ -852,7 +852,7 @@
                 node = bin(id)
                 r = self.rev(node)
                 return node
-            except TypeError:
+            except (TypeError, LookupError):
                 pass
 
     def _partialmatch(self, id):