diff -r 60a6ab7bcda7 -r f00edef84c3b hgext/lfs/__init__.py --- a/hgext/lfs/__init__.py Fri Jan 19 21:29:31 2018 -0500 +++ b/hgext/lfs/__init__.py Fri Jan 19 19:20:50 2018 -0500 @@ -362,7 +362,7 @@ pointers = wrapper.pointersfromctx(ctx) # {path: pointer} files = sorted(pointers.keys()) - def lfsattrs(v): + def pointer(v): # In the file spec, version is first and the other keys are sorted. sortkeyfunc = lambda x: (x[0] != 'version', x) items = sorted(pointers[v].iteritems(), key=sortkeyfunc) @@ -371,7 +371,7 @@ makemap = lambda v: { 'file': v, 'oid': pointers[v].oid(), - 'lfsattrs': templatekw.hybriddict(lfsattrs(v)), + 'pointer': templatekw.hybriddict(pointer(v)), } # TODO: make the separator ', '?