Show More
@@ -135,7 +135,7 b' class branchcache(dict):' | |||||
135 | if self.filteredhash is not None: |
|
135 | if self.filteredhash is not None: | |
136 | cachekey.append(hex(self.filteredhash)) |
|
136 | cachekey.append(hex(self.filteredhash)) | |
137 | f.write(" ".join(cachekey) + '\n') |
|
137 | f.write(" ".join(cachekey) + '\n') | |
138 | for label, nodes in self.iteritems(): |
|
138 | for label, nodes in sorted(self.iteritems()): | |
139 | for node in nodes: |
|
139 | for node in nodes: | |
140 | f.write("%s %s\n" % (hex(node), encoding.fromlocal(label))) |
|
140 | f.write("%s %s\n" % (hex(node), encoding.fromlocal(label))) | |
141 | f.close() |
|
141 | f.close() |
@@ -162,9 +162,9 b' Test for invalid branch cache:' | |||||
162 | corrupted |
|
162 | corrupted | |
163 | === .hg/cache/branchheads-unserved === |
|
163 | === .hg/cache/branchheads-unserved === | |
164 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 |
|
164 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 | |
|
165 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar | |||
165 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default |
|
166 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default | |
166 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo |
|
167 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo | |
167 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar |
|
|||
168 |
|
168 | |||
169 | Push should update the branch cache: |
|
169 | Push should update the branch cache: | |
170 |
|
170 | |||
@@ -186,9 +186,9 b' Pushing everything:' | |||||
186 | $ (cd ../target/; listbranchcaches) |
|
186 | $ (cd ../target/; listbranchcaches) | |
187 | === .hg/cache/branchheads-impactable === |
|
187 | === .hg/cache/branchheads-impactable === | |
188 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 |
|
188 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 4 | |
|
189 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar | |||
189 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default |
|
190 | 1c28f494dae69a2f8fc815059d257eccf3fcfe75 default | |
190 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo |
|
191 | adf1a74a7f7b4cd193d12992f5d0d6a004ed21d6 foo | |
191 | c21617b13b220988e7a2e26290fbe4325ffa7139 bar |
|
|||
192 |
|
192 | |||
193 | Update with no arguments: tipmost revision of the current branch: |
|
193 | Update with no arguments: tipmost revision of the current branch: | |
194 |
|
194 |
General Comments 0
You need to be logged in to leave comments.
Login now