Mercurial > public > mercurial-scm > hg-stable
diff mercurial/logcmdutil.py @ 45216:4ebc5f325bed stable
log: fix crash and bad filematcher lookup by -fr'wdir()' PATH
"-fr'wdir()' ADDED-PATH" is still wrong, which will be fixed in default
branch.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 11 Sep 2020 14:41:05 +0900 |
parents | 3b7aabd02e11 |
children | 4532e7ebde4d |
line wrap: on
line diff
--- a/mercurial/logcmdutil.py Wed Sep 09 14:48:55 2020 -0400 +++ b/mercurial/logcmdutil.py Fri Sep 11 14:41:05 2020 +0900 @@ -753,7 +753,7 @@ fcache = {} def filematcher(ctx): - return scmutil.matchfiles(repo, fcache.get(ctx.rev(), [])) + return scmutil.matchfiles(repo, fcache.get(scmutil.intrev(ctx), [])) def revgen(): for rev, cs in dagop.filectxancestors(fctxs, followfirst=followfirst):