##// END OF EJS Templates
repoview: keep the branchmap cache for the `served.hidden` view warm...
marmoute -
r42296:70b71421 default
parent child Browse files
Show More
@@ -2107,6 +2107,7 b' class localrepository(object):'
2107 2107 # accessing the 'ser ved' branchmap should refresh all the others,
2108 2108 self.ui.debug('updating the branch cache\n')
2109 2109 self.filtered('served').branchmap()
2110 self.filtered('served.hidden').branchmap()
2110 2111
2111 2112 if full:
2112 2113 unfi = self.unfiltered()
@@ -330,6 +330,7 b' Check that the right ancestors is used w'
330 330 bundle2-input-bundle: 2 parts total
331 331 updating the branch cache
332 332 invalid branchheads cache (served): tip differs
333 invalid branchheads cache (served.hidden): tip differs
333 334 rebase completed
334 335
335 336 Test minimization of merge conflicts
@@ -72,6 +72,20 b' Testing the `served.hidden` view'
72 72 Test the feature
73 73 ================
74 74
75 Check cache pre-warm
76 --------------------
77
78 $ ls -1 repo-with-hidden/.hg/cache
79 branch2
80 branch2-base
81 branch2-served
82 branch2-served.hidden
83 branch2-visible
84 rbc-names-v1
85 rbc-revs-v1
86 tags2
87 tags2-visible
88
75 89 Check that the `served.hidden` repoview
76 90 ---------------------------------------
77 91
General Comments 0
You need to be logged in to leave comments. Login now