--- 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):