Show More
@@ -1457,5 +1457,7 b' def extsetup(ui):' | |||
|
1457 | 1457 | cmdutil.unfinishedstates.append( |
|
1458 | 1458 | ['histedit-state', False, True, _('histedit in progress'), |
|
1459 | 1459 | _("use 'hg histedit --continue' or 'hg histedit --abort'")]) |
|
1460 | cmdutil.afterresolvedstates.append( | |
|
1461 | ['histedit-state', _('hg histedit --continue')]) | |
|
1460 | 1462 | if ui.configbool("experimental", "histeditng"): |
|
1461 | 1463 | globals()['base'] = addhisteditaction(['base', 'b'])(base) |
@@ -178,6 +178,7 b' Continue' | |||
|
178 | 178 | $ echo b2 > B |
|
179 | 179 | $ hg resolve --mark B |
|
180 | 180 | (no more unresolved files) |
|
181 | continue: hg histedit --continue | |
|
181 | 182 | $ hg histedit --continue | fixbundle |
|
182 | 183 | $ hg tglog |
|
183 | 184 | @ 6:03772da75548bb42a8f1eacd8c91d0717a147fcd:draft 'X' |
@@ -95,6 +95,7 b' fix up' | |||
|
95 | 95 | $ echo 'I can haz no commute' > e |
|
96 | 96 | $ hg resolve --mark e |
|
97 | 97 | (no more unresolved files) |
|
98 | continue: hg histedit --continue | |
|
98 | 99 | $ cat > cat.py <<EOF |
|
99 | 100 | > import sys |
|
100 | 101 | > print open(sys.argv[1]).read() |
@@ -128,6 +129,7 b' just continue this time' | |||
|
128 | 129 | $ hg revert -r 'p1()' e |
|
129 | 130 | $ hg resolve --mark e |
|
130 | 131 | (no more unresolved files) |
|
132 | continue: hg histedit --continue | |
|
131 | 133 | $ hg histedit --continue 2>&1 | fixbundle |
|
132 | 134 | 7b4e2f4b7bcd: empty changeset |
|
133 | 135 | |
@@ -255,6 +257,7 b' fix up' | |||
|
255 | 257 | $ echo 'I can haz no commute' > e |
|
256 | 258 | $ hg resolve --mark e |
|
257 | 259 | (no more unresolved files) |
|
260 | continue: hg histedit --continue | |
|
258 | 261 | $ hg histedit --continue 2>&1 | fixbundle | grep -v '2 files removed' |
|
259 | 262 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
260 | 263 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -266,6 +269,7 b' just continue this time' | |||
|
266 | 269 | $ hg revert -r 'p1()' e |
|
267 | 270 | $ hg resolve --mark e |
|
268 | 271 | (no more unresolved files) |
|
272 | continue: hg histedit --continue | |
|
269 | 273 | $ hg histedit --continue 2>&1 | fixbundle |
|
270 | 274 | 7b4e2f4b7bcd: empty changeset |
|
271 | 275 |
@@ -305,6 +305,7 b' should effectively drop the changes from' | |||
|
305 | 305 | $ hg revert -r 'p1()' file |
|
306 | 306 | $ hg resolve --mark file |
|
307 | 307 | (no more unresolved files) |
|
308 | continue: hg histedit --continue | |
|
308 | 309 |
|
|
309 | 310 | 251d831eeec5: empty changeset |
|
310 | 311 | saved backup bundle to $TESTTMP/*-backup.hg (glob) |
@@ -364,6 +365,7 b' dropped revision.' | |||
|
364 | 365 | > EOF |
|
365 | 366 | $ hg resolve --mark file |
|
366 | 367 | (no more unresolved files) |
|
368 | continue: hg histedit --continue | |
|
367 | 369 |
|
|
368 | 370 | created new head |
|
369 | 371 | $ echo 6 >> file |
@@ -153,6 +153,7 b' fix up' | |||
|
153 | 153 | $ echo 'I can haz no commute' > e |
|
154 | 154 | $ hg resolve --mark e |
|
155 | 155 | (no more unresolved files) |
|
156 | continue: hg histedit --continue | |
|
156 | 157 | $ hg histedit --continue 2>&1 | fixbundle |
|
157 | 158 | merging e |
|
158 | 159 | warning: conflicts while merging e! (edit, then use 'hg resolve --mark') |
@@ -165,6 +166,7 b' just continue this time' | |||
|
165 | 166 | $ hg revert -r 'p1()' e |
|
166 | 167 | $ hg resolve --mark e |
|
167 | 168 | (no more unresolved files) |
|
169 | continue: hg histedit --continue | |
|
168 | 170 | $ hg histedit --continue 2>&1 | fixbundle |
|
169 | 171 | 7b4e2f4b7bcd: empty changeset |
|
170 | 172 | |
@@ -236,6 +238,7 b' edit the history, this time with a fold ' | |||
|
236 | 238 | $ echo 'I can haz no commute' > e |
|
237 | 239 | $ hg resolve --mark e |
|
238 | 240 | (no more unresolved files) |
|
241 | continue: hg histedit --continue | |
|
239 | 242 | $ hg histedit --continue 2>&1 | fixbundle |
|
240 | 243 | merging e |
|
241 | 244 | warning: conflicts while merging e! (edit, then use 'hg resolve --mark') |
@@ -244,6 +247,7 b' second edit also fails, but just continu' | |||
|
244 | 247 | $ hg revert -r 'p1()' e |
|
245 | 248 | $ hg resolve --mark e |
|
246 | 249 | (no more unresolved files) |
|
250 | continue: hg histedit --continue | |
|
247 | 251 | $ hg histedit --continue 2>&1 | fixbundle |
|
248 | 252 | 7b4e2f4b7bcd: empty changeset |
|
249 | 253 |
General Comments 0
You need to be logged in to leave comments.
Login now