equal
deleted
inserted
replaced
468 p = parse_dirstate(self._map, self._copymap, st) |
468 p = parse_dirstate(self._map, self._copymap, st) |
469 if not self._dirtypl: |
469 if not self._dirtypl: |
470 self._pl = p |
470 self._pl = p |
471 |
471 |
472 def invalidate(self): |
472 def invalidate(self): |
|
473 '''Causes the next access to reread the dirstate. |
|
474 |
|
475 This is different from localrepo.invalidatedirstate() because it always |
|
476 rereads the dirstate. Use localrepo.invalidatedirstate() if you want to |
|
477 check whether the dirstate has changed before rereading it.''' |
|
478 |
473 for a in ("_map", "_copymap", "_filefoldmap", "_dirfoldmap", "_branch", |
479 for a in ("_map", "_copymap", "_filefoldmap", "_dirfoldmap", "_branch", |
474 "_pl", "_dirs", "_ignore", "_nonnormalset", |
480 "_pl", "_dirs", "_ignore", "_nonnormalset", |
475 "_otherparentset"): |
481 "_otherparentset"): |
476 if a in self.__dict__: |
482 if a in self.__dict__: |
477 delattr(self, a) |
483 delattr(self, a) |