##// END OF EJS Templates
manifest: removed usage of the global cmp function...
Renato Cunha -
r11763:69e0bcf3 default
parent child Browse files
Show More
@@ -84,7 +84,7 b' class manifest(revlog.revlog):'
84 hi = start
84 hi = start
85 end = advance(lo, '\0')
85 end = advance(lo, '\0')
86 found = m[lo:end]
86 found = m[lo:end]
87 if cmp(s, found) == 0:
87 if s == found:
88 # we know that after the null there are 40 bytes of sha1
88 # we know that after the null there are 40 bytes of sha1
89 end = advance(end + 40, '\n')
89 end = advance(end + 40, '\n')
90 return (lo, end + 1)
90 return (lo, end + 1)
General Comments 0
You need to be logged in to leave comments. Login now