##// END OF EJS Templates
copies: expand `_chain` variable name to make the function easier to read...
marmoute -
r44223:995066c4 default
parent child Browse files
Show More
@@ -63,12 +63,12 b' def _filter(src, dst, t):'
63 del t[k]
63 del t[k]
64
64
65
65
66 def _chain(a, b):
66 def _chain(prefix, suffix):
67 """chain two sets of copies 'a' and 'b'"""
67 """chain two sets of copies 'prefix' and 'suffix'"""
68 t = a.copy()
68 result = prefix.copy()
69 for k, v in pycompat.iteritems(b):
69 for key, value in pycompat.iteritems(suffix):
70 t[k] = a.get(v, v)
70 result[key] = prefix.get(value, value)
71 return t
71 return result
72
72
73
73
74 def _tracefile(fctx, am, basemf):
74 def _tracefile(fctx, am, basemf):
General Comments 0
You need to be logged in to leave comments. Login now