Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/overrides.py @ 36040:f8ad57d24252
log: pass ctx to makefilematcher() and makehunksfilter() functions
This isn't important, but seems more consistent as changesetprinter.show()
takes a ctx, not a revision number.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 Jan 2018 13:40:31 +0900 |
parents | 572f36e9a780 |
children | 976e1cfb2f64 |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Sat Jan 27 19:02:33 2018 -0500 +++ b/hgext/largefiles/overrides.py Sun Jan 21 13:40:31 2018 +0900 @@ -392,7 +392,7 @@ def overridemakefilematcher(repo, pats, opts, badfn=None): wctx = repo[None] match, pats = oldmatchandpats(wctx, pats, opts, badfn=badfn) - return lambda rev: match + return lambda ctx: match oldmatchandpats = installmatchandpatsfn(overridematchandpats) oldmakefilematcher = logcmdutil._makenofollowfilematcher