323 |
323 |
324 def matchfileset(self, expr, badfn=None): |
324 def matchfileset(self, expr, badfn=None): |
325 """Resolve the fileset expression for this repo""" |
325 """Resolve the fileset expression for this repo""" |
326 return matchmod.never(badfn=badfn) |
326 return matchmod.never(badfn=badfn) |
327 |
327 |
328 def printfiles(self, ui, m, fm, fmt, subrepos): |
328 def printfiles(self, ui, m, uipathfn, fm, fmt, subrepos): |
329 """handle the files command for this subrepo""" |
329 """handle the files command for this subrepo""" |
330 return 1 |
330 return 1 |
331 |
331 |
332 def archive(self, archiver, prefix, match=None, decode=True): |
332 def archive(self, archiver, prefix, match=None, decode=True): |
333 if match is not None: |
333 if match is not None: |
793 rev = self._state[1] |
793 rev = self._state[1] |
794 ctx = self._repo[rev] |
794 ctx = self._repo[rev] |
795 return ctx.flags(name) |
795 return ctx.flags(name) |
796 |
796 |
797 @annotatesubrepoerror |
797 @annotatesubrepoerror |
798 def printfiles(self, ui, m, fm, fmt, subrepos): |
798 def printfiles(self, ui, m, uipathfn, fm, fmt, subrepos): |
799 # If the parent context is a workingctx, use the workingctx here for |
799 # If the parent context is a workingctx, use the workingctx here for |
800 # consistency. |
800 # consistency. |
801 if self._ctx.rev() is None: |
801 if self._ctx.rev() is None: |
802 ctx = self._repo[None] |
802 ctx = self._repo[None] |
803 else: |
803 else: |
804 rev = self._state[1] |
804 rev = self._state[1] |
805 ctx = self._repo[rev] |
805 ctx = self._repo[rev] |
806 return cmdutil.files(ui, ctx, m, fm, fmt, subrepos) |
806 return cmdutil.files(ui, ctx, m, uipathfn, fm, fmt, subrepos) |
807 |
807 |
808 @annotatesubrepoerror |
808 @annotatesubrepoerror |
809 def matchfileset(self, expr, badfn=None): |
809 def matchfileset(self, expr, badfn=None): |
810 if self._ctx.rev() is None: |
810 if self._ctx.rev() is None: |
811 ctx = self._repo[None] |
811 ctx = self._repo[None] |