Show More
@@ -293,8 +293,8 class revlog: | |||
|
293 | 293 | for n in self.nodemap: |
|
294 | 294 | if hex(n).startswith(id): |
|
295 | 295 | c.append(n) |
|
296 |
if len(c) > 1: raise |
|
|
297 |
if len(c) < 1: raise |
|
|
296 | if len(c) > 1: raise RevlogError("Ambiguous identifier") | |
|
297 | if len(c) < 1: raise RevlogError("No match found") | |
|
298 | 298 | return c[0] |
|
299 | 299 | |
|
300 | 300 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now