changeset 8813 | db3c1ab0e632 |
parent 8812 | 859f841937d0 |
child 9024 | 10532b29cdee |
child 9097 | 431462bd8478 |
--- a/mercurial/context.py Mon Jun 15 02:45:38 2009 -0500 +++ b/mercurial/context.py Mon Jun 15 02:45:38 2009 -0500 @@ -184,6 +184,9 @@ if match.bad(fn, 'No such file in rev ' + str(self)) and match(fn): yield fn + def sub(self, path): + return subrepo.subrepo(self, path) + class filectx(object): """A filecontext object makes access to data related to a particular filerevision convenient."""