mercurial/revlog.py
changeset 67 a182f2561c8e
parent 65 d40cc5aacc31
child 71 47c9a869adee
--- a/mercurial/revlog.py	Fri May 13 12:44:11 2005 -0800
+++ b/mercurial/revlog.py	Fri May 13 13:12:32 2005 -0800
@@ -73,7 +73,7 @@
                 if id in hex(n):
                     c.append(n)
             if len(c) > 1: raise KeyError("Ambiguous identifier")
-            if len(c) < 1: raise KeyError
+            if len(c) < 1: raise KeyError("No match found")
             return c[0]
                 
         return None