equal
deleted
inserted
replaced
289 except (ValueError, OverflowError): |
289 except (ValueError, OverflowError): |
290 c = [] |
290 c = [] |
291 for n in self.nodemap: |
291 for n in self.nodemap: |
292 if hex(n).startswith(id): |
292 if hex(n).startswith(id): |
293 c.append(n) |
293 c.append(n) |
294 if len(c) > 1: raise RevlogError("Ambiguous identifier") |
294 if len(c) > 1: raise KeyError("Ambiguous identifier") |
295 if len(c) < 1: raise RevlogError("No match found") |
295 if len(c) < 1: raise KeyError("No match found") |
296 return c[0] |
296 return c[0] |
297 |
297 |
298 return None |
298 return None |
299 |
299 |
300 def diff(self, a, b): |
300 def diff(self, a, b): |