changeset 15808 | 62098aeb1e15 |
parent 15793 | 3ef07ecdb0d5 |
child 15809 | 884946c002b8 |
--- a/hgext/largefiles/lfcommands.py Mon Jan 09 20:17:37 2012 -0600 +++ b/hgext/largefiles/lfcommands.py Sun Jan 08 17:03:39 2012 +0100 @@ -237,7 +237,9 @@ dstfiles.append(lfutil.standin(f)) # largefile in manifest if it has not been removed/renamed if f in ctx.manifest(): - if 'l' in ctx.filectx(f).flags(): + fctx = ctx.filectx(f) + if 'l' in fctx.flags(): + renamed = fctx.renamed() if renamed and renamed[0] in lfiles: raise util.Abort(_('largefile %s becomes symlink') % f)