Mercurial > public > mercurial-scm > hg
diff hgext/uncommit.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 | 232d4b9d391a |
children | f4147ca63d39 |
line wrap: on
line diff
--- a/hgext/uncommit.py Wed Mar 13 20:09:56 2019 -0700 +++ b/hgext/uncommit.py Tue Mar 19 22:58:39 2019 -0700 @@ -83,7 +83,7 @@ mctx = context.memfilectx(repo, memctx, fctx.path(), fctx.data(), fctx.islink(), fctx.isexec(), - copied=copied.get(path)) + copysource=copied.get(path)) return mctx if not files: