Mercurial > hg
comparison tests/test-setdiscovery.t @ 42884:775224e26d74
discovery: replace "heads" by "changesets" in a output note (BC)
When using `hg push --rev X`, the subset considered by discovery is only `::X`.
In addition, `X` can be any local revisions not just local heads. As a result
the message "all local heads known locally" can be misleading. We replace it
with the more accurate "all local changesets known remotely".
The message appears when in verbose not, so this is stricly speaking a BC
breakage. I am not sure this would be a real issue in practice...
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 27 Apr 2019 02:04:05 +0200 |
parents | 334c1ea57136 |
children | 75f6491b66a7 |
comparison
equal
deleted
inserted
replaced
42883:acf80f9edc85 | 42884:775224e26d74 |
---|---|
62 | 62 |
63 % -- a -> b set | 63 % -- a -> b set |
64 comparing with b | 64 comparing with b |
65 query 1; heads | 65 query 1; heads |
66 searching for changes | 66 searching for changes |
67 all local heads known remotely | 67 all local changesets known remotely |
68 elapsed time: * seconds (glob) | 68 elapsed time: * seconds (glob) |
69 heads summary: | 69 heads summary: |
70 total common heads: 2 | 70 total common heads: 2 |
71 also local heads: 2 | 71 also local heads: 2 |
72 also remote heads: 1 | 72 also remote heads: 1 |
84 | 84 |
85 % -- a -> b set (tip only) | 85 % -- a -> b set (tip only) |
86 comparing with b | 86 comparing with b |
87 query 1; heads | 87 query 1; heads |
88 searching for changes | 88 searching for changes |
89 all local heads known remotely | 89 all local changesets known remotely |
90 elapsed time: * seconds (glob) | 90 elapsed time: * seconds (glob) |
91 heads summary: | 91 heads summary: |
92 total common heads: 1 | 92 total common heads: 1 |
93 also local heads: 1 | 93 also local heads: 1 |
94 also remote heads: 0 | 94 also remote heads: 0 |