mercurial/subrepo.py
changeset 15474 95174c381525
parent 15410 9e99d2bbb1b1
child 15513 646759147717
equal deleted inserted replaced
15473:d90b0b30464b 15474:95174c381525
   358         walk recursively through the directory tree, finding all files
   358         walk recursively through the directory tree, finding all files
   359         matched by the match function
   359         matched by the match function
   360         '''
   360         '''
   361         pass
   361         pass
   362 
   362 
       
   363     def forget(self, files):
       
   364         pass
       
   365 
   363 class hgsubrepo(abstractsubrepo):
   366 class hgsubrepo(abstractsubrepo):
   364     def __init__(self, ctx, path, state):
   367     def __init__(self, ctx, path, state):
   365         self._path = path
   368         self._path = path
   366         self._state = state
   369         self._state = state
   367         r = ctx._repo
   370         r = ctx._repo
   550         return ctx.flags(name)
   553         return ctx.flags(name)
   551 
   554 
   552     def walk(self, match):
   555     def walk(self, match):
   553         ctx = self._repo[None]
   556         ctx = self._repo[None]
   554         return ctx.walk(match)
   557         return ctx.walk(match)
       
   558 
       
   559     def forget(self, files):
       
   560         ctx = self._repo[None]
       
   561         ctx.forget(files)
   555 
   562 
   556 class svnsubrepo(abstractsubrepo):
   563 class svnsubrepo(abstractsubrepo):
   557     def __init__(self, ctx, path, state):
   564     def __init__(self, ctx, path, state):
   558         self._path = path
   565         self._path = path
   559         self._state = state
   566         self._state = state