hgext/lfs/__init__.py
changeset 36400 7b86aa31b004
parent 36142 60dd840a7fdb
child 36456 9ff5cbfbc26a
--- a/hgext/lfs/__init__.py	Sat Feb 24 16:16:14 2018 +0530
+++ b/hgext/lfs/__init__.py	Sat Feb 24 16:18:40 2018 +0530
@@ -220,12 +220,12 @@
     if 'lfs' not in repo.requirements:
         def checkrequireslfs(ui, repo, **kwargs):
             if 'lfs' not in repo.requirements:
-                last = kwargs.get('node_last')
+                last = kwargs.get(r'node_last')
                 _bin = node.bin
                 if last:
-                    s = repo.set('%n:%n', _bin(kwargs['node']), _bin(last))
+                    s = repo.set('%n:%n', _bin(kwargs[r'node']), _bin(last))
                 else:
-                    s = repo.set('%n', _bin(kwargs['node']))
+                    s = repo.set('%n', _bin(kwargs[r'node']))
             for ctx in s:
                 # TODO: is there a way to just walk the files in the commit?
                 if any(ctx[f].islfs() for f in ctx.files() if f in ctx):