##// END OF EJS Templates
debugdiscovery: include the number of heads in all sets...
marmoute -
r42321:607a0de9 default
parent child Browse files
Show More
@@ -829,6 +829,7 b' def debugdiscovery(ui, repo, remoteurl="'
829 data['nb-common'] = len(common)
829 data['nb-common'] = len(common)
830 data['nb-common-local'] = len(common & lheads)
830 data['nb-common-local'] = len(common & lheads)
831 data['nb-common-remote'] = len(common & rheads)
831 data['nb-common-remote'] = len(common & rheads)
832 data['nb-common-both'] = len(common & rheads & lheads)
832 data['nb-local'] = len(lheads)
833 data['nb-local'] = len(lheads)
833 data['nb-local-missing'] = data['nb-local'] - data['nb-common-local']
834 data['nb-local-missing'] = data['nb-local'] - data['nb-common-local']
834 data['nb-remote'] = len(rheads)
835 data['nb-remote'] = len(rheads)
@@ -843,6 +844,7 b' def debugdiscovery(ui, repo, remoteurl="'
843 ui.write((" total common heads: %(nb-common)9d\n") % data)
844 ui.write((" total common heads: %(nb-common)9d\n") % data)
844 ui.write((" also local heads: %(nb-common-local)9d\n") % data)
845 ui.write((" also local heads: %(nb-common-local)9d\n") % data)
845 ui.write((" also remote heads: %(nb-common-remote)9d\n") % data)
846 ui.write((" also remote heads: %(nb-common-remote)9d\n") % data)
847 ui.write((" both: %(nb-common-both)9d\n") % data)
846 ui.write((" local heads: %(nb-local)9d\n") % data)
848 ui.write((" local heads: %(nb-local)9d\n") % data)
847 ui.write((" common: %(nb-common-local)9d\n") % data)
849 ui.write((" common: %(nb-common-local)9d\n") % data)
848 ui.write((" missing: %(nb-local-missing)9d\n") % data)
850 ui.write((" missing: %(nb-local-missing)9d\n") % data)
@@ -48,6 +48,7 b' Small superset:'
48 total common heads: 2
48 total common heads: 2
49 also local heads: 2
49 also local heads: 2
50 also remote heads: 1
50 also remote heads: 1
51 both: 1
51 local heads: 2
52 local heads: 2
52 common: 2
53 common: 2
53 missing: 0
54 missing: 0
@@ -69,6 +70,7 b' Small superset:'
69 total common heads: 2
70 total common heads: 2
70 also local heads: 2
71 also local heads: 2
71 also remote heads: 1
72 also remote heads: 1
73 both: 1
72 local heads: 2
74 local heads: 2
73 common: 2
75 common: 2
74 missing: 0
76 missing: 0
@@ -90,6 +92,7 b' Small superset:'
90 total common heads: 1
92 total common heads: 1
91 also local heads: 1
93 also local heads: 1
92 also remote heads: 0
94 also remote heads: 0
95 both: 0
93 local heads: 2
96 local heads: 2
94 common: 1
97 common: 1
95 missing: 1
98 missing: 1
@@ -110,6 +113,7 b' Small superset:'
110 total common heads: 2
113 total common heads: 2
111 also local heads: 1
114 also local heads: 1
112 also remote heads: 2
115 also remote heads: 2
116 both: 1
113 local heads: 3
117 local heads: 3
114 common: 1
118 common: 1
115 missing: 2
119 missing: 2
@@ -131,6 +135,7 b' Small superset:'
131 total common heads: 2
135 total common heads: 2
132 also local heads: 1
136 also local heads: 1
133 also remote heads: 2
137 also remote heads: 2
138 both: 1
134 local heads: 3
139 local heads: 3
135 common: 1
140 common: 1
136 missing: 2
141 missing: 2
@@ -152,6 +157,7 b' Small superset:'
152 total common heads: 2
157 total common heads: 2
153 also local heads: 1
158 also local heads: 1
154 also remote heads: 2
159 also remote heads: 2
160 both: 1
155 local heads: 3
161 local heads: 3
156 common: 1
162 common: 1
157 missing: 2
163 missing: 2
@@ -179,6 +185,7 b' Many new:'
179 total common heads: 1
185 total common heads: 1
180 also local heads: 1
186 also local heads: 1
181 also remote heads: 0
187 also remote heads: 0
188 both: 0
182 local heads: 2
189 local heads: 2
183 common: 1
190 common: 1
184 missing: 1
191 missing: 1
@@ -203,6 +210,7 b' Many new:'
203 total common heads: 1
210 total common heads: 1
204 also local heads: 1
211 also local heads: 1
205 also remote heads: 0
212 also remote heads: 0
213 both: 0
206 local heads: 2
214 local heads: 2
207 common: 1
215 common: 1
208 missing: 1
216 missing: 1
@@ -227,6 +235,7 b' Many new:'
227 total common heads: 1
235 total common heads: 1
228 also local heads: 0
236 also local heads: 0
229 also remote heads: 0
237 also remote heads: 0
238 both: 0
230 local heads: 2
239 local heads: 2
231 common: 0
240 common: 0
232 missing: 2
241 missing: 2
@@ -247,6 +256,7 b' Many new:'
247 total common heads: 1
256 total common heads: 1
248 also local heads: 0
257 also local heads: 0
249 also remote heads: 1
258 also remote heads: 1
259 both: 0
250 local heads: 1
260 local heads: 1
251 common: 0
261 common: 0
252 missing: 1
262 missing: 1
@@ -271,6 +281,7 b' Many new:'
271 total common heads: 1
281 total common heads: 1
272 also local heads: 0
282 also local heads: 0
273 also remote heads: 1
283 also remote heads: 1
284 both: 0
274 local heads: 1
285 local heads: 1
275 common: 0
286 common: 0
276 missing: 1
287 missing: 1
@@ -295,6 +306,7 b' Many new:'
295 total common heads: 1
306 total common heads: 1
296 also local heads: 0
307 also local heads: 0
297 also remote heads: 1
308 also remote heads: 1
309 both: 0
298 local heads: 1
310 local heads: 1
299 common: 0
311 common: 0
300 missing: 1
312 missing: 1
@@ -321,6 +333,7 b' Both sides many new with stub:'
321 total common heads: 1
333 total common heads: 1
322 also local heads: 1
334 also local heads: 1
323 also remote heads: 0
335 also remote heads: 0
336 both: 0
324 local heads: 2
337 local heads: 2
325 common: 1
338 common: 1
326 missing: 1
339 missing: 1
@@ -345,6 +358,7 b' Both sides many new with stub:'
345 total common heads: 1
358 total common heads: 1
346 also local heads: 1
359 also local heads: 1
347 also remote heads: 0
360 also remote heads: 0
361 both: 0
348 local heads: 2
362 local heads: 2
349 common: 1
363 common: 1
350 missing: 1
364 missing: 1
@@ -369,6 +383,7 b' Both sides many new with stub:'
369 total common heads: 1
383 total common heads: 1
370 also local heads: 0
384 also local heads: 0
371 also remote heads: 0
385 also remote heads: 0
386 both: 0
372 local heads: 2
387 local heads: 2
373 common: 0
388 common: 0
374 missing: 2
389 missing: 2
@@ -389,6 +404,7 b' Both sides many new with stub:'
389 total common heads: 1
404 total common heads: 1
390 also local heads: 0
405 also local heads: 0
391 also remote heads: 1
406 also remote heads: 1
407 both: 0
392 local heads: 1
408 local heads: 1
393 common: 0
409 common: 0
394 missing: 1
410 missing: 1
@@ -413,6 +429,7 b' Both sides many new with stub:'
413 total common heads: 1
429 total common heads: 1
414 also local heads: 0
430 also local heads: 0
415 also remote heads: 1
431 also remote heads: 1
432 both: 0
416 local heads: 1
433 local heads: 1
417 common: 0
434 common: 0
418 missing: 1
435 missing: 1
@@ -437,6 +454,7 b' Both sides many new with stub:'
437 total common heads: 1
454 total common heads: 1
438 also local heads: 0
455 also local heads: 0
439 also remote heads: 1
456 also remote heads: 1
457 both: 0
440 local heads: 1
458 local heads: 1
441 common: 0
459 common: 0
442 missing: 1
460 missing: 1
@@ -464,6 +482,7 b' Both many new:'
464 total common heads: 1
482 total common heads: 1
465 also local heads: 0
483 also local heads: 0
466 also remote heads: 0
484 also remote heads: 0
485 both: 0
467 local heads: 1
486 local heads: 1
468 common: 0
487 common: 0
469 missing: 1
488 missing: 1
@@ -488,6 +507,7 b' Both many new:'
488 total common heads: 1
507 total common heads: 1
489 also local heads: 0
508 also local heads: 0
490 also remote heads: 0
509 also remote heads: 0
510 both: 0
491 local heads: 1
511 local heads: 1
492 common: 0
512 common: 0
493 missing: 1
513 missing: 1
@@ -512,6 +532,7 b' Both many new:'
512 total common heads: 1
532 total common heads: 1
513 also local heads: 0
533 also local heads: 0
514 also remote heads: 0
534 also remote heads: 0
535 both: 0
515 local heads: 1
536 local heads: 1
516 common: 0
537 common: 0
517 missing: 1
538 missing: 1
@@ -532,6 +553,7 b' Both many new:'
532 total common heads: 1
553 total common heads: 1
533 also local heads: 0
554 also local heads: 0
534 also remote heads: 0
555 also remote heads: 0
556 both: 0
535 local heads: 1
557 local heads: 1
536 common: 0
558 common: 0
537 missing: 1
559 missing: 1
@@ -556,6 +578,7 b' Both many new:'
556 total common heads: 1
578 total common heads: 1
557 also local heads: 0
579 also local heads: 0
558 also remote heads: 0
580 also remote heads: 0
581 both: 0
559 local heads: 1
582 local heads: 1
560 common: 0
583 common: 0
561 missing: 1
584 missing: 1
@@ -580,6 +603,7 b' Both many new:'
580 total common heads: 1
603 total common heads: 1
581 also local heads: 0
604 also local heads: 0
582 also remote heads: 0
605 also remote heads: 0
606 both: 0
583 local heads: 1
607 local heads: 1
584 common: 0
608 common: 0
585 missing: 1
609 missing: 1
@@ -607,6 +631,7 b' Both many new skewed:'
607 total common heads: 1
631 total common heads: 1
608 also local heads: 0
632 also local heads: 0
609 also remote heads: 0
633 also remote heads: 0
634 both: 0
610 local heads: 1
635 local heads: 1
611 common: 0
636 common: 0
612 missing: 1
637 missing: 1
@@ -631,6 +656,7 b' Both many new skewed:'
631 total common heads: 1
656 total common heads: 1
632 also local heads: 0
657 also local heads: 0
633 also remote heads: 0
658 also remote heads: 0
659 both: 0
634 local heads: 1
660 local heads: 1
635 common: 0
661 common: 0
636 missing: 1
662 missing: 1
@@ -655,6 +681,7 b' Both many new skewed:'
655 total common heads: 1
681 total common heads: 1
656 also local heads: 0
682 also local heads: 0
657 also remote heads: 0
683 also remote heads: 0
684 both: 0
658 local heads: 1
685 local heads: 1
659 common: 0
686 common: 0
660 missing: 1
687 missing: 1
@@ -675,6 +702,7 b' Both many new skewed:'
675 total common heads: 1
702 total common heads: 1
676 also local heads: 0
703 also local heads: 0
677 also remote heads: 0
704 also remote heads: 0
705 both: 0
678 local heads: 1
706 local heads: 1
679 common: 0
707 common: 0
680 missing: 1
708 missing: 1
@@ -699,6 +727,7 b' Both many new skewed:'
699 total common heads: 1
727 total common heads: 1
700 also local heads: 0
728 also local heads: 0
701 also remote heads: 0
729 also remote heads: 0
730 both: 0
702 local heads: 1
731 local heads: 1
703 common: 0
732 common: 0
704 missing: 1
733 missing: 1
@@ -723,6 +752,7 b' Both many new skewed:'
723 total common heads: 1
752 total common heads: 1
724 also local heads: 0
753 also local heads: 0
725 also remote heads: 0
754 also remote heads: 0
755 both: 0
726 local heads: 1
756 local heads: 1
727 common: 0
757 common: 0
728 missing: 1
758 missing: 1
@@ -750,6 +780,7 b' Both many new on top of long history:'
750 total common heads: 1
780 total common heads: 1
751 also local heads: 0
781 also local heads: 0
752 also remote heads: 0
782 also remote heads: 0
783 both: 0
753 local heads: 1
784 local heads: 1
754 common: 0
785 common: 0
755 missing: 1
786 missing: 1
@@ -777,6 +808,7 b' Both many new on top of long history:'
777 total common heads: 1
808 total common heads: 1
778 also local heads: 0
809 also local heads: 0
779 also remote heads: 0
810 also remote heads: 0
811 both: 0
780 local heads: 1
812 local heads: 1
781 common: 0
813 common: 0
782 missing: 1
814 missing: 1
@@ -804,6 +836,7 b' Both many new on top of long history:'
804 total common heads: 1
836 total common heads: 1
805 also local heads: 0
837 also local heads: 0
806 also remote heads: 0
838 also remote heads: 0
839 both: 0
807 local heads: 1
840 local heads: 1
808 common: 0
841 common: 0
809 missing: 1
842 missing: 1
@@ -824,6 +857,7 b' Both many new on top of long history:'
824 total common heads: 1
857 total common heads: 1
825 also local heads: 0
858 also local heads: 0
826 also remote heads: 0
859 also remote heads: 0
860 both: 0
827 local heads: 1
861 local heads: 1
828 common: 0
862 common: 0
829 missing: 1
863 missing: 1
@@ -851,6 +885,7 b' Both many new on top of long history:'
851 total common heads: 1
885 total common heads: 1
852 also local heads: 0
886 also local heads: 0
853 also remote heads: 0
887 also remote heads: 0
888 both: 0
854 local heads: 1
889 local heads: 1
855 common: 0
890 common: 0
856 missing: 1
891 missing: 1
@@ -878,6 +913,7 b' Both many new on top of long history:'
878 total common heads: 1
913 total common heads: 1
879 also local heads: 0
914 also local heads: 0
880 also remote heads: 0
915 also remote heads: 0
916 both: 0
881 local heads: 1
917 local heads: 1
882 common: 0
918 common: 0
883 missing: 1
919 missing: 1
@@ -957,6 +993,7 b' One with >200 heads, which used to use u'
957 total common heads: 1
993 total common heads: 1
958 also local heads: 0
994 also local heads: 0
959 also remote heads: 0
995 also remote heads: 0
996 both: 0
960 local heads: 260
997 local heads: 260
961 common: 0
998 common: 0
962 missing: 260
999 missing: 260
@@ -983,6 +1020,7 b' One with >200 heads, which used to use u'
983 total common heads: 1
1020 total common heads: 1
984 also local heads: 0
1021 also local heads: 0
985 also remote heads: 0
1022 also remote heads: 0
1023 both: 0
986 local heads: 260
1024 local heads: 260
987 common: 0
1025 common: 0
988 missing: 260
1026 missing: 260
General Comments 0
You need to be logged in to leave comments. Login now