##// END OF EJS Templates
remotefilelog: check against bytes type instead of buffer and coerce to bytes...
Augie Fackler -
r41292:ebda5d42 default
parent child Browse files
Show More
@@ -269,8 +269,8 b' def addchangegroupfiles(orig, repo, sour'
269
269
270 base = fl.revision(deltabase, raw=True)
270 base = fl.revision(deltabase, raw=True)
271 text = mdiff.patch(base, delta)
271 text = mdiff.patch(base, delta)
272 if isinstance(text, buffer):
272 if not isinstance(text, bytes):
273 text = str(text)
273 text = bytes(text)
274
274
275 meta, text = shallowutil.parsemeta(text)
275 meta, text = shallowutil.parsemeta(text)
276 if 'copy' in meta:
276 if 'copy' in meta:
General Comments 0
You need to be logged in to leave comments. Login now