Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 25228:63a57a2727b6
files: recurse into subrepos automatically with an explicit path
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 17 May 2015 22:42:47 -0400 |
parents | ca9c02cb81be |
children | c4a92867c048 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Wed May 20 01:06:09 2015 +0900 +++ b/mercurial/subrepo.py Sun May 17 22:42:47 2015 -0400 @@ -504,7 +504,7 @@ """Resolve the fileset expression for this repo""" return set() - def printfiles(self, ui, m, fm, fmt): + def printfiles(self, ui, m, fm, fmt, subrepos): """handle the files command for this subrepo""" return 1 @@ -904,7 +904,7 @@ return ctx.flags(name) @annotatesubrepoerror - def printfiles(self, ui, m, fm, fmt): + def printfiles(self, ui, m, fm, fmt, subrepos): # If the parent context is a workingctx, use the workingctx here for # consistency. if self._ctx.rev() is None: @@ -912,7 +912,7 @@ else: rev = self._state[1] ctx = self._repo[rev] - return cmdutil.files(ui, ctx, m, fm, fmt, True) + return cmdutil.files(ui, ctx, m, fm, fmt, subrepos) @annotatesubrepoerror def getfileset(self, expr):