##// END OF EJS Templates
dirstate: add docstring for invalidate...
Siddharth Agarwal -
r32682:e696f597 default
parent child Browse files
Show More
@@ -470,6 +470,12 b' class dirstate(object):'
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"):
General Comments 0
You need to be logged in to leave comments. Login now