equal
deleted
inserted
replaced
1040 |
1040 |
1041 delcache('_tagscache') |
1041 delcache('_tagscache') |
1042 |
1042 |
1043 self._branchcache = None # in UTF-8 |
1043 self._branchcache = None # in UTF-8 |
1044 self._branchcachetip = None |
1044 self._branchcachetip = None |
|
1045 obsolete.clearobscaches(self) |
1045 |
1046 |
1046 def invalidatedirstate(self): |
1047 def invalidatedirstate(self): |
1047 '''Invalidates the dirstate, causing the next call to dirstate |
1048 '''Invalidates the dirstate, causing the next call to dirstate |
1048 to check if it was modified since the last time it was read, |
1049 to check if it was modified since the last time it was read, |
1049 rereading it if it has. |
1050 rereading it if it has. |
2402 htext = _(" (%+d heads)") % dh |
2403 htext = _(" (%+d heads)") % dh |
2403 |
2404 |
2404 self.ui.status(_("added %d changesets" |
2405 self.ui.status(_("added %d changesets" |
2405 " with %d changes to %d files%s\n") |
2406 " with %d changes to %d files%s\n") |
2406 % (changesets, revisions, files, htext)) |
2407 % (changesets, revisions, files, htext)) |
|
2408 obsolete.clearobscaches(self) |
2407 |
2409 |
2408 if changesets > 0: |
2410 if changesets > 0: |
2409 p = lambda: cl.writepending() and self.root or "" |
2411 p = lambda: cl.writepending() and self.root or "" |
2410 self.hook('pretxnchangegroup', throw=True, |
2412 self.hook('pretxnchangegroup', throw=True, |
2411 node=hex(cl.node(clstart)), source=srctype, |
2413 node=hex(cl.node(clstart)), source=srctype, |