Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/dirstate.py @ 4657:27a386b96557
dirstate.invalidate: clear dirty flag
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 21 Jun 2007 00:34:14 -0300 |
parents | 4eeb91870d3b |
children | de8ec7e1753a |
comparison
equal
deleted
inserted
replaced
4656:4eeb91870d3b | 4657:27a386b96557 |
---|---|
160 | 160 |
161 def invalidate(self): | 161 def invalidate(self): |
162 for a in "_map _copymap _branch _pl _dirs _ignore".split(): | 162 for a in "_map _copymap _branch _pl _dirs _ignore".split(): |
163 if hasattr(self, a): | 163 if hasattr(self, a): |
164 self.__delattr__(a) | 164 self.__delattr__(a) |
165 self._dirty = 0 | |
165 | 166 |
166 def copy(self, source, dest): | 167 def copy(self, source, dest): |
167 self.markdirty() | 168 self.markdirty() |
168 self._copymap[dest] = source | 169 self._copymap[dest] = source |
169 | 170 |