From patchwork Thu Aug 9 18:10:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D4172: debugcommands: force import of fileset in debugfileset From: phabricator X-Patchwork-Id: 33487 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Thu, 9 Aug 2018 18:10:24 +0000 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 To: durin42, #hg-reviewers, pulkit Cc: mercurial-devel 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)