diff -r 254361f727bd -r 7375a9ab0149 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Wed Sep 19 00:23:02 2018 -0400 +++ b/hgext/largefiles/lfcommands.py Tue Jul 17 17:16:22 2018 -0700 @@ -209,6 +209,10 @@ if f in ctx.manifest(): fctx = ctx.filectx(f) renamed = fctx.renamed() + if renamed is None: + # the code below assumes renamed to be a boolean or a list + # and won't quite work with the value None + renamed = False renamedlfile = renamed and renamed[0] in lfiles islfile |= renamedlfile if 'l' in fctx.flags():