Show More
@@ -4942,7 +4942,7 b' def summary(ui, repo, **opts):' | |||
|
4942 | 4942 | # We write all the possibilities to ease translation |
|
4943 | 4943 | troublemsg = { |
|
4944 | 4944 | "unstable": _("orphan: %d changesets"), |
|
4945 | "divergent": _("divergent: %d changesets"), | |
|
4945 | "divergent": _("content-divergent: %d changesets"), | |
|
4946 | 4946 | "bumped": _("bumped: %d changesets"), |
|
4947 | 4947 | } |
|
4948 | 4948 | if numtrouble > 0: |
@@ -231,7 +231,7 b' class basectx(object):' | |||
|
231 | 231 | Troubles are returned as strings. possible values are: |
|
232 | 232 | - orphan, |
|
233 | 233 | - bumped, |
|
234 | - divergent. | |
|
234 | - content-divergent. | |
|
235 | 235 | """ |
|
236 | 236 | troubles = [] |
|
237 | 237 | if self.unstable(): |
@@ -239,7 +239,7 b' class basectx(object):' | |||
|
239 | 239 | if self.bumped(): |
|
240 | 240 | troubles.append('bumped') |
|
241 | 241 | if self.divergent(): |
|
242 | troubles.append('divergent') | |
|
242 | troubles.append('content-divergent') | |
|
243 | 243 | return troubles |
|
244 | 244 | |
|
245 | 245 | def parents(self): |
@@ -677,9 +677,10 b' def _pushcheckoutgoing(pushop):' | |||
|
677 | 677 | if unfi.obsstore: |
|
678 | 678 | # this message are here for 80 char limit reason |
|
679 | 679 | mso = _("push includes obsolete changeset: %s!") |
|
680 | mscd = _("push includes content-divergent changeset: %s!") | |
|
680 | 681 | mst = {"orphan": _("push includes orphan changeset: %s!"), |
|
681 | 682 | "bumped": _("push includes bumped changeset: %s!"), |
|
682 | "divergent": _("push includes divergent changeset: %s!")} | |
|
683 | "content-divergent": mscd} | |
|
683 | 684 | # If we are to push if there is at least one |
|
684 | 685 | # obsolete or unstable changeset in missing, at |
|
685 | 686 | # least one of the missinghead will be obsolete or |
@@ -442,14 +442,14 b' Test setup' | |||
|
442 | 442 | | parent: 0:ea207398892e |
|
443 | 443 | | user: test |
|
444 | 444 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
445 | | instability: divergent | |
|
445 | | instability: content-divergent | |
|
446 | 446 | | summary: A2 |
|
447 | 447 | | |
|
448 | 448 | | o changeset: 2:fdf9bde5129a |
|
449 | 449 | |/ parent: 0:ea207398892e |
|
450 | 450 | | user: test |
|
451 | 451 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
452 | | instability: divergent | |
|
452 | | instability: content-divergent | |
|
453 | 453 | | summary: A1 |
|
454 | 454 | | |
|
455 | 455 | | x changeset: 1:471f378eab4c |
@@ -469,7 +469,7 b' Test setup' | |||
|
469 | 469 | | parent: 0:ea207398892e |
|
470 | 470 | | user: test |
|
471 | 471 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
472 | | instability: divergent | |
|
472 | | instability: content-divergent | |
|
473 | 473 | | summary: A3 |
|
474 | 474 | | |
|
475 | 475 | | x changeset: 3:65b757b745b9 |
@@ -482,7 +482,7 b' Test setup' | |||
|
482 | 482 | |/ parent: 0:ea207398892e |
|
483 | 483 | | user: test |
|
484 | 484 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
485 | | instability: divergent | |
|
485 | | instability: content-divergent | |
|
486 | 486 | | summary: A1 |
|
487 | 487 | | |
|
488 | 488 | | x changeset: 1:471f378eab4c |
@@ -1086,20 +1086,20 b' Diverge one of the splitted commit' | |||
|
1086 | 1086 | | parent: 5:dd800401bd8c |
|
1087 | 1087 | | user: test |
|
1088 | 1088 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1089 | | instability: divergent | |
|
1089 | | instability: content-divergent | |
|
1090 | 1090 | | summary: Add B only |
|
1091 | 1091 | | |
|
1092 | 1092 | | o changeset: 8:b18bc8331526 |
|
1093 | 1093 | |/ parent: 5:dd800401bd8c |
|
1094 | 1094 | | user: test |
|
1095 | 1095 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1096 | | instability: divergent | |
|
1096 | | instability: content-divergent | |
|
1097 | 1097 | | summary: Add only B |
|
1098 | 1098 | | |
|
1099 | 1099 | | o changeset: 7:ba2ed02b0c9a |
|
1100 | 1100 | | | user: test |
|
1101 | 1101 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1102 | | | instability: orphan, divergent | |
|
1102 | | | instability: orphan, content-divergent | |
|
1103 | 1103 | | | summary: Add A,B,C |
|
1104 | 1104 | | | |
|
1105 | 1105 | | x changeset: 6:4a004186e638 |
@@ -1111,7 +1111,7 b' Diverge one of the splitted commit' | |||
|
1111 | 1111 | | parent: 3:f897c6137566 |
|
1112 | 1112 | | user: test |
|
1113 | 1113 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
1114 | | instability: divergent | |
|
1114 | | instability: content-divergent | |
|
1115 | 1115 | | summary: Add A,B,C |
|
1116 | 1116 | | |
|
1117 | 1117 | o changeset: 3:f897c6137566 |
@@ -107,7 +107,7 b' check that mercurial refuse to push' | |||
|
107 | 107 | $ hg push ../other |
|
108 | 108 | pushing to ../other |
|
109 | 109 | searching for changes |
|
110 | abort: push includes divergent changeset: 392fd25390da! | |
|
110 | abort: push includes content-divergent changeset: 392fd25390da! | |
|
111 | 111 | [255] |
|
112 | 112 | |
|
113 | 113 | $ cd .. |
@@ -671,9 +671,9 b' Use scmutil.cleanupnodes API to create d' | |||
|
671 | 671 | $ rm .hg/localtags |
|
672 | 672 | $ hg cleanup --config extensions.t=$TESTTMP/scmutilcleanup.py |
|
673 | 673 | $ hg log -G -T '{rev}:{node|short} {desc} {troubles}' -r 'sort(all(), topo)' |
|
674 | @ 5:1a2a9b5b0030 B2 divergent | |
|
674 | @ 5:1a2a9b5b0030 B2 content-divergent | |
|
675 | 675 | | |
|
676 | | o 4:70d5a63ca112 B4 divergent | |
|
676 | | o 4:70d5a63ca112 B4 content-divergent | |
|
677 | 677 | | | |
|
678 | 678 | | o 1:48b9aae0607f Z |
|
679 | 679 | | |
@@ -855,7 +855,7 b' With experimental.allowdivergence=True, ' | |||
|
855 | 855 | commit: (clean) |
|
856 | 856 | update: 1 new changesets, 2 branch heads (merge) |
|
857 | 857 | phases: 8 draft |
|
858 | divergent: 2 changesets | |
|
858 | content-divergent: 2 changesets | |
|
859 | 859 | |
|
860 | 860 | rebase --continue + skipped rev because their successors are in destination |
|
861 | 861 | we make a change in trunk and work on conflicting changes to make rebase abort. |
General Comments 0
You need to be logged in to leave comments.
Login now