Show More
@@ -2732,7 +2732,7 b' class localrepository(object):' | |||||
2732 | return updater |
|
2732 | return updater | |
2733 |
|
2733 | |||
2734 | @unfilteredmethod |
|
2734 | @unfilteredmethod | |
2735 | def updatecaches(self, tr=None, full=False): |
|
2735 | def updatecaches(self, tr=None, full=False, caches=None): | |
2736 | """warm appropriate caches |
|
2736 | """warm appropriate caches | |
2737 |
|
2737 | |||
2738 | If this function is called after a transaction closed. The transaction |
|
2738 | If this function is called after a transaction closed. The transaction | |
@@ -2754,6 +2754,7 b' class localrepository(object):' | |||||
2754 |
|
2754 | |||
2755 | unfi = self.unfiltered() |
|
2755 | unfi = self.unfiltered() | |
2756 |
|
2756 | |||
|
2757 | if caches is None: | |||
2757 | if full: |
|
2758 | if full: | |
2758 | caches = repository.CACHES_ALL |
|
2759 | caches = repository.CACHES_ALL | |
2759 | if full == b"post-clone": |
|
2760 | if full == b"post-clone": |
General Comments 0
You need to be logged in to leave comments.
Login now