##// END OF EJS Templates
largefiles: fix multistatement line
Matt Mackall -
r15172:fb1dcd2a default
parent child Browse files
Show More
@@ -164,7 +164,8 b' def _addchangeset(ui, rsrc, rdst, ctx, r'
164 fd = open(path, 'rb')
164 fd = open(path, 'rb')
165 data = fd.read()
165 data = fd.read()
166 finally:
166 finally:
167 if fd: fd.close()
167 if fd:
168 fd.close()
168 return context.memfilectx(f, data, 'l' in fctx.flags(),
169 return context.memfilectx(f, data, 'l' in fctx.flags(),
169 'x' in fctx.flags(), renamed)
170 'x' in fctx.flags(), renamed)
170 else:
171 else:
General Comments 0
You need to be logged in to leave comments. Login now