diff mercurial/cmdutil.py @ 41994:550a172a603b

memctx: rename constructor argument "copied" to "copysource" (API) It's just the path, not the nodeid, so "copysource" seems more appropriate. Differential Revision: https://phab.mercurial-scm.org/D6158
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 19 Mar 2019 22:58:39 -0700
parents c1d83d916e85
children 566daffc607d
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Mar 13 20:09:56 2019 -0700
+++ b/mercurial/cmdutil.py	Tue Mar 19 22:58:39 2019 -0700
@@ -2563,7 +2563,7 @@
                                               fctx.path(), fctx.data(),
                                               islink='l' in flags,
                                               isexec='x' in flags,
-                                              copied=copied.get(path))
+                                              copysource=copied.get(path))
                     return mctx
                 except KeyError:
                     return None