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