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( |
|
66 | def _chain(prefix, suffix): | |
67 |
"""chain two sets of copies ' |
|
67 | """chain two sets of copies 'prefix' and 'suffix'""" | |
68 |
t = |
|
68 | result = prefix.copy() | |
69 |
for k, v in pycompat.iteritems( |
|
69 | for key, value in pycompat.iteritems(suffix): | |
70 |
t[k] = |
|
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