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