diff hgext/histedit.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 82d9728ace95
children 1f567a9e25bd
line wrap: on
line diff
--- a/hgext/histedit.py	Wed Mar 13 20:09:56 2019 -0700
+++ b/hgext/histedit.py	Tue Mar 19 22:58:39 2019 -0700
@@ -645,7 +645,7 @@
                                       fctx.path(), fctx.data(),
                                       islink='l' in flags,
                                       isexec='x' in flags,
-                                      copied=copied.get(path))
+                                      copysource=copied.get(path))
             return mctx
         return None