##// END OF EJS Templates
rebase: improve resolve failure message
Steve Borho -
r12896:b19b4c1d stable
parent child Browse files
Show More
@@ -165,8 +165,8 b' def rebase(ui, repo, **opts):'
165 165 else:
166 166 stats = rebasenode(repo, rev, p1, p2, state)
167 167 if stats and stats[3] > 0:
168 raise util.Abort(_('fix unresolved conflicts with hg '
169 'resolve then run hg rebase --continue'))
168 raise util.Abort(_('unresolved conflicts (see hg '
169 'resolve, then hg rebase --continue)'))
170 170 updatedirstate(repo, rev, target, p2)
171 171 if not collapsef:
172 172 newrev = concludenode(repo, rev, p1, p2, extrafn=extrafn)
@@ -50,7 +50,7 b' Conflicting rebase:'
50 50 merging common
51 51 warning: conflicts during merge.
52 52 merging common failed!
53 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
53 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
54 54 [255]
55 55
56 56 Abort:
@@ -118,7 +118,7 b' Rebase and abort without generating new '
118 118 merging c
119 119 warning: conflicts during merge.
120 120 merging c failed!
121 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
121 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
122 122 [255]
123 123
124 124 $ hg tglog
@@ -64,7 +64,7 b' Rebasing B onto E - check keep:'
64 64 merging A
65 65 warning: conflicts during merge.
66 66 merging A failed!
67 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
67 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
68 68 [255]
69 69
70 70 Solve the conflict and go on:
@@ -116,7 +116,7 b' Rebase F onto E - check keepbranches:'
116 116 merging A
117 117 warning: conflicts during merge.
118 118 merging A failed!
119 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
119 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
120 120 [255]
121 121
122 122 Solve the conflict and go on:
@@ -59,7 +59,7 b' Conflicting rebase:'
59 59 merging common
60 60 warning: conflicts during merge.
61 61 merging common failed!
62 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
62 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
63 63 [255]
64 64
65 65 Try to continue without solving the conflict:
@@ -57,7 +57,7 b' Rebasing B onto E:'
57 57 merging A
58 58 warning: conflicts during merge.
59 59 merging A failed!
60 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
60 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
61 61 [255]
62 62
63 63 Force a commit on C during the interruption:
@@ -89,7 +89,7 b' Resume the rebasing:'
89 89 merging A
90 90 warning: conflicts during merge.
91 91 merging A failed!
92 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
92 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
93 93 [255]
94 94
95 95 Solve the conflict and go on:
@@ -143,7 +143,7 b' Rebasing B onto E:'
143 143 merging A
144 144 warning: conflicts during merge.
145 145 merging A failed!
146 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
146 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
147 147 [255]
148 148
149 149 Force a commit on B' during the interruption:
@@ -105,7 +105,7 b' already has one local mq patch'
105 105 $ hg up -q qtip
106 106
107 107 $ HGMERGE=internal:fail hg rebase
108 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
108 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
109 109 [255]
110 110
111 111 $ HGMERGE=internal:local hg resolve --all
@@ -63,7 +63,7 b' Rebase - generate a conflict:'
63 63 merging f
64 64 warning: conflicts during merge.
65 65 merging f failed!
66 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
66 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
67 67 [255]
68 68
69 69 Fix the 1st conflict:
@@ -74,7 +74,7 b' Fix the 1st conflict:'
74 74 merging f
75 75 warning: conflicts during merge.
76 76 merging f failed!
77 abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
77 abort: unresolved conflicts (see hg resolve, then hg rebase --continue)
78 78 [255]
79 79
80 80 Fix the 2nd conflict:
General Comments 0
You need to be logged in to leave comments. Login now