##// END OF EJS Templates
py3: use hex() to convert the hash to bytes
Pulkit Goyal -
r33095:9fc880df default
parent child Browse files
Show More
@@ -414,7 +414,7 b' class mergestate(object):'
414 414 if fcl.isabsent():
415 415 hash = nullhex
416 416 else:
417 hash = hashlib.sha1(fcl.path()).hexdigest()
417 hash = hex(hashlib.sha1(fcl.path()).digest())
418 418 self._repo.vfs.write('merge/' + hash, fcl.data())
419 419 self._state[fd] = ['u', hash, fcl.path(),
420 420 fca.path(), hex(fca.filenode()),
General Comments 0
You need to be logged in to leave comments. Login now