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