Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 67:a182f2561c8e
Add tag support
author | mpm@selenic.com |
---|---|
date | Fri, 13 May 2005 13:12:32 -0800 |
parents | d40cc5aacc31 |
children | 47c9a869adee |
line wrap: on
line diff
--- 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