--- a/hgext/sparse.py Sun Jan 21 12:36:43 2018 +0900
+++ b/hgext/sparse.py Sun Jan 21 12:48:39 2018 +0900
@@ -126,7 +126,7 @@
entry[1].append(('', 'sparse', None,
"limit to changesets affecting the sparse checkout"))
- def _logrevs(orig, repo, opts):
+ def _initialrevs(orig, repo, opts):
revs = orig(repo, opts)
if opts.get('sparse'):
sparsematch = sparse.matcher(repo)
@@ -135,7 +135,7 @@
return any(f for f in ctx.files() if sparsematch(f))
revs = revs.filter(ctxmatch)
return revs
- extensions.wrapfunction(logcmdutil, '_logrevs', _logrevs)
+ extensions.wrapfunction(logcmdutil, '_initialrevs', _initialrevs)
def _clonesparsecmd(orig, ui, repo, *args, **opts):
include_pat = opts.get('include')