##// END OF EJS Templates
largefiles: don't reference uninitialized variable (issue3092)
Levi Bard -
r15808:62098aeb default
parent child Browse files
Show More
@@ -237,7 +237,9 b' def _lfconvert_addchangeset(rsrc, rdst, '
237 dstfiles.append(lfutil.standin(f))
237 dstfiles.append(lfutil.standin(f))
238 # largefile in manifest if it has not been removed/renamed
238 # largefile in manifest if it has not been removed/renamed
239 if f in ctx.manifest():
239 if f in ctx.manifest():
240 if 'l' in ctx.filectx(f).flags():
240 fctx = ctx.filectx(f)
241 if 'l' in fctx.flags():
242 renamed = fctx.renamed()
241 if renamed and renamed[0] in lfiles:
243 if renamed and renamed[0] in lfiles:
242 raise util.Abort(_('largefile %s becomes symlink') % f)
244 raise util.Abort(_('largefile %s becomes symlink') % f)
243
245
General Comments 0
You need to be logged in to leave comments. Login now