Show More
@@ -195,7 +195,7 b' class revlog:' | |||||
195 | rev = int(id) |
|
195 | rev = int(id) | |
196 | if str(rev) != id: raise ValueError |
|
196 | if str(rev) != id: raise ValueError | |
197 | if rev < 0: rev = self.count() + rev |
|
197 | if rev < 0: rev = self.count() + rev | |
198 | if rev < 0 or rev >= self.count: raise ValueError |
|
198 | if rev < 0 or rev >= self.count(): raise ValueError | |
199 | return self.node(rev) |
|
199 | return self.node(rev) | |
200 | except (ValueError, OverflowError): |
|
200 | except (ValueError, OverflowError): | |
201 | c = [] |
|
201 | c = [] |
General Comments 0
You need to be logged in to leave comments.
Login now