diff -r 04aafcec00b9 -r aa97e06a1912 hgext/lfs/__init__.py --- a/hgext/lfs/__init__.py Fri Mar 16 22:36:40 2018 +0900 +++ b/hgext/lfs/__init__.py Fri Mar 16 22:47:15 2018 +0900 @@ -356,12 +356,11 @@ return [f for f in mctx.subset if wrapper.pointerfromctx(mctx.ctx, f, removed=True) is not None] -@templatekeyword('lfs_files', requires={'ctx', 'templ'}) +@templatekeyword('lfs_files', requires={'ctx'}) def lfsfiles(context, mapping): """List of strings. All files modified, added, or removed by this changeset.""" ctx = context.resource(mapping, 'ctx') - templ = context.resource(mapping, 'templ') pointers = wrapper.pointersfromctx(ctx, removed=True) # {path: pointer} files = sorted(pointers.keys()) @@ -379,7 +378,7 @@ } # TODO: make the separator ', '? - f = templateutil._showlist('lfs_file', files, templ, mapping) + f = templateutil._showcompatlist(context, mapping, 'lfs_file', files) return templateutil.hybrid(f, files, makemap, pycompat.identity) @command('debuglfsupload',