##// END OF EJS Templates
revlog: make pure version of _partialmatch() support 40-byte hex nodeids...
Martin von Zweigbergk -
r37837:ee3d58b4 stable
parent child Browse files
Show More
@@ -1466,7 +1466,7 b' class revlog(object):'
1466 1466 if id in self._pcache:
1467 1467 return self._pcache[id]
1468 1468
1469 if len(id) < 40:
1469 if len(id) <= 40:
1470 1470 try:
1471 1471 # hex(node)[:...]
1472 1472 l = len(id) // 2 # grab an even number of digits
General Comments 0
You need to be logged in to leave comments. Login now