Mercurial > evolve
changeset 5190:d2e0e6447a73
evolve: drop compat for pre-4.5 context.memfilectx()
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Mar 2020 18:47:18 +0700 |
parents | 26b47a967a1d |
children | dadc642e78d2 |
files | hgext3rd/evolve/compat.py |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/compat.py Mon Mar 09 18:36:10 2020 +0700 +++ b/hgext3rd/evolve/compat.py Mon Mar 09 18:47:18 2020 +0700 @@ -78,17 +78,12 @@ islink=b'l' in flags, isexec=b'x' in flags, copysource=copied.get(path)) - # compat with hg <- 4.9 + # compat with hg <= 4.9 elif varnames[2] == r"changectx": mctx = context.memfilectx(repo, ctx, fctx.path(), fctx.data(), islink=b'l' in flags, isexec=b'x' in flags, copied=copied.get(path)) # pytype: disable=wrong-keyword-args - else: - mctx = context.memfilectx(repo, fctx.path(), fctx.data(), - islink=b'l' in flags, - isexec=b'x' in flags, - copied=copied.get(path)) # pytype: disable=wrong-keyword-args return mctx # 46c2b19a1263f18a5829a21b7a5053019b0c5a31 in hg moved repair.stripbmrevset to