D4172: debugcommands: force import of fileset in debugfileset
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Aug 9 14:10:24 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4d992e3f10ba: debugcommands: force import of fileset in debugfileset (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4172?vs=10104&id=10136
REVISION DETAIL
https://phab.mercurial-scm.org/D4172
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -896,6 +896,8 @@
_('[-r REV] [--all-files] [OPTION]... FILESPEC'))
def debugfileset(ui, repo, expr, **opts):
'''parse and apply a fileset specification'''
+ from . import fileset
+ fileset.symbols # force import of fileset so we have predicates to optimize
opts = pycompat.byteskwargs(opts)
ctx = scmutil.revsingle(repo, opts.get('rev'), None)
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list