##// END OF EJS Templates
overlayworkingctx: make clean() public...
Phil Cohen -
r35287:307b1689 default
parent child Browse files
Show More
@@ -1993,8 +1993,8 b' class overlayworkingctx(workingctx):'
1993 def __init__(self, repo, wrappedctx):
1993 def __init__(self, repo, wrappedctx):
1994 super(overlayworkingctx, self).__init__(repo)
1994 super(overlayworkingctx, self).__init__(repo)
1995 self._repo = repo
1995 self._repo = repo
1996 self.clean()
1996 self._wrappedctx = wrappedctx
1997 self._wrappedctx = wrappedctx
1997 self._clean()
1998
1998
1999 def data(self, path):
1999 def data(self, path):
2000 if self.isdirty(path):
2000 if self.isdirty(path):
@@ -2074,7 +2074,7 b' class overlayworkingctx(workingctx):'
2074 def isdirty(self, path):
2074 def isdirty(self, path):
2075 return path in self._cache
2075 return path in self._cache
2076
2076
2077 def _clean(self):
2077 def clean(self):
2078 self._cache = {}
2078 self._cache = {}
2079
2079
2080 def _markdirty(self, path, exists, data=None, date=None, flags=''):
2080 def _markdirty(self, path, exists, data=None, date=None, flags=''):
General Comments 0
You need to be logged in to leave comments. Login now