##// END OF EJS Templates
test-shelve: be more lenient about whitespace (issue4124)...
Tristan Seligmann -
r24233:b6bcfd16 default
parent child Browse files
Show More
@@ -1,743 +1,743
1 1 $ cat <<EOF >> $HGRCPATH
2 2 > [extensions]
3 3 > mq =
4 4 > shelve =
5 5 > [defaults]
6 6 > diff = --nodates --git
7 7 > qnew = --date '0 0'
8 8 > EOF
9 9
10 10 $ hg init repo
11 11 $ cd repo
12 12 $ mkdir a b
13 13 $ echo a > a/a
14 14 $ echo b > b/b
15 15 $ echo c > c
16 16 $ echo d > d
17 17 $ echo x > x
18 18 $ hg addremove -q
19 19
20 20 shelving in an empty repo should be possible
21 21 (this tests also that editor is not invoked, if '--edit' is not
22 22 specified)
23 23
24 24 $ HGEDITOR=cat hg shelve
25 25 shelved as default
26 26 0 files updated, 0 files merged, 5 files removed, 0 files unresolved
27 27
28 28 $ hg unshelve
29 29 unshelving change 'default'
30 30
31 31 $ hg commit -q -m 'initial commit'
32 32
33 33 $ hg shelve
34 34 nothing changed
35 35 [1]
36 36
37 37 create an mq patch - shelving should work fine with a patch applied
38 38
39 39 $ echo n > n
40 40 $ hg add n
41 41 $ hg commit n -m second
42 42 $ hg qnew second.patch
43 43
44 44 shelve a change that we will delete later
45 45
46 46 $ echo a >> a/a
47 47 $ hg shelve
48 48 shelved as default
49 49 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
50 50
51 51 set up some more complex changes to shelve
52 52
53 53 $ echo a >> a/a
54 54 $ hg mv b b.rename
55 55 moving b/b to b.rename/b (glob)
56 56 $ hg cp c c.copy
57 57 $ hg status -C
58 58 M a/a
59 59 A b.rename/b
60 60 b/b
61 61 A c.copy
62 62 c
63 63 R b/b
64 64
65 65 prevent some foot-shooting
66 66
67 67 $ hg shelve -n foo/bar
68 68 abort: shelved change names may not contain slashes
69 69 [255]
70 70 $ hg shelve -n .baz
71 71 abort: shelved change names may not start with '.'
72 72 [255]
73 73
74 74 the common case - no options or filenames
75 75
76 76 $ hg shelve
77 77 shelved as default-01
78 78 2 files updated, 0 files merged, 2 files removed, 0 files unresolved
79 79 $ hg status -C
80 80
81 81 ensure that our shelved changes exist
82 82
83 83 $ hg shelve -l
84 default-01 (*) changes to '[mq]: second.patch' (glob)
85 default (*) changes to '[mq]: second.patch' (glob)
84 default-01 (*)* changes to '[mq]: second.patch' (glob)
85 default (*)* changes to '[mq]: second.patch' (glob)
86 86
87 87 $ hg shelve -l -p default
88 default (*) changes to '[mq]: second.patch' (glob)
88 default (*)* changes to '[mq]: second.patch' (glob)
89 89
90 90 diff --git a/a/a b/a/a
91 91 --- a/a/a
92 92 +++ b/a/a
93 93 @@ -1,1 +1,2 @@
94 94 a
95 95 +a
96 96
97 97 $ hg shelve --list --addremove
98 98 abort: options '--list' and '--addremove' may not be used together
99 99 [255]
100 100
101 101 delete our older shelved change
102 102
103 103 $ hg shelve -d default
104 104 $ hg qfinish -a -q
105 105
106 106 local edits should not prevent a shelved change from applying
107 107
108 108 $ printf "z\na\n" > a/a
109 109 $ hg unshelve --keep
110 110 unshelving change 'default-01'
111 111 temporarily committing pending changes (restore with 'hg unshelve --abort')
112 112 rebasing shelved changes
113 113 rebasing 4:4702e8911fe0 "changes to '[mq]: second.patch'" (tip)
114 114 merging a/a
115 115
116 116 $ hg revert --all -q
117 117 $ rm a/a.orig b.rename/b c.copy
118 118
119 119 apply it and make sure our state is as expected
120 120
121 121 $ hg unshelve
122 122 unshelving change 'default-01'
123 123 $ hg status -C
124 124 M a/a
125 125 A b.rename/b
126 126 b/b
127 127 A c.copy
128 128 c
129 129 R b/b
130 130 $ hg shelve -l
131 131
132 132 $ hg unshelve
133 133 abort: no shelved changes to apply!
134 134 [255]
135 135 $ hg unshelve foo
136 136 abort: shelved change 'foo' not found
137 137 [255]
138 138
139 139 named shelves, specific filenames, and "commit messages" should all work
140 140 (this tests also that editor is invoked, if '--edit' is specified)
141 141
142 142 $ hg status -C
143 143 M a/a
144 144 A b.rename/b
145 145 b/b
146 146 A c.copy
147 147 c
148 148 R b/b
149 149 $ HGEDITOR=cat hg shelve -q -n wibble -m wat -e a
150 150 wat
151 151
152 152
153 153 HG: Enter commit message. Lines beginning with 'HG:' are removed.
154 154 HG: Leave message empty to abort commit.
155 155 HG: --
156 156 HG: user: shelve@localhost
157 157 HG: branch 'default'
158 158 HG: changed a/a
159 159
160 160 expect "a" to no longer be present, but status otherwise unchanged
161 161
162 162 $ hg status -C
163 163 A b.rename/b
164 164 b/b
165 165 A c.copy
166 166 c
167 167 R b/b
168 168 $ hg shelve -l --stat
169 169 wibble (*) wat (glob)
170 170 a/a | 1 +
171 171 1 files changed, 1 insertions(+), 0 deletions(-)
172 172
173 173 and now "a/a" should reappear
174 174
175 175 $ cd a
176 176 $ hg unshelve -q wibble
177 177 $ cd ..
178 178 $ hg status -C
179 179 M a/a
180 180 A b.rename/b
181 181 b/b
182 182 A c.copy
183 183 c
184 184 R b/b
185 185
186 186 cause unshelving to result in a merge with 'a' conflicting
187 187
188 188 $ hg shelve -q
189 189 $ echo c>>a/a
190 190 $ hg commit -m second
191 191 $ hg tip --template '{files}\n'
192 192 a/a
193 193
194 194 add an unrelated change that should be preserved
195 195
196 196 $ mkdir foo
197 197 $ echo foo > foo/foo
198 198 $ hg add foo/foo
199 199
200 200 force a conflicted merge to occur
201 201
202 202 $ hg unshelve
203 203 unshelving change 'default'
204 204 temporarily committing pending changes (restore with 'hg unshelve --abort')
205 205 rebasing shelved changes
206 206 rebasing 5:4702e8911fe0 "changes to '[mq]: second.patch'" (tip)
207 207 merging a/a
208 208 warning: conflicts during merge.
209 209 merging a/a incomplete! (edit conflicts, then use 'hg resolve --mark')
210 210 unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
211 211 [1]
212 212
213 213 ensure that we have a merge with unresolved conflicts
214 214
215 215 $ hg heads -q --template '{rev}\n'
216 216 5
217 217 4
218 218 $ hg parents -q --template '{rev}\n'
219 219 4
220 220 5
221 221 $ hg status
222 222 M a/a
223 223 M b.rename/b
224 224 M c.copy
225 225 R b/b
226 226 ? a/a.orig
227 227 $ hg diff
228 228 diff --git a/a/a b/a/a
229 229 --- a/a/a
230 230 +++ b/a/a
231 231 @@ -1,2 +1,6 @@
232 232 a
233 233 +<<<<<<< dest: * - shelve: pending changes temporary commit (glob)
234 234 c
235 235 +=======
236 236 +a
237 237 +>>>>>>> source: 4702e8911fe0 - shelve: changes to '[mq]: second.patch'
238 238 diff --git a/b/b b/b.rename/b
239 239 rename from b/b
240 240 rename to b.rename/b
241 241 diff --git a/c b/c.copy
242 242 copy from c
243 243 copy to c.copy
244 244 $ hg resolve -l
245 245 U a/a
246 246
247 247 $ hg shelve
248 248 abort: unshelve already in progress
249 249 (use 'hg unshelve --continue' or 'hg unshelve --abort')
250 250 [255]
251 251
252 252 abort the unshelve and be happy
253 253
254 254 $ hg status
255 255 M a/a
256 256 M b.rename/b
257 257 M c.copy
258 258 R b/b
259 259 ? a/a.orig
260 260 $ hg unshelve -a
261 261 rebase aborted
262 262 unshelve of 'default' aborted
263 263 $ hg heads -q
264 264 3:2e69b451d1ea
265 265 $ hg parents
266 266 changeset: 3:2e69b451d1ea
267 267 tag: tip
268 268 user: test
269 269 date: Thu Jan 01 00:00:00 1970 +0000
270 270 summary: second
271 271
272 272 $ hg resolve -l
273 273 $ hg status
274 274 A foo/foo
275 275 ? a/a.orig
276 276
277 277 try to continue with no unshelve underway
278 278
279 279 $ hg unshelve -c
280 280 abort: no unshelve operation underway
281 281 [255]
282 282 $ hg status
283 283 A foo/foo
284 284 ? a/a.orig
285 285
286 286 redo the unshelve to get a conflict
287 287
288 288 $ hg unshelve -q
289 289 warning: conflicts during merge.
290 290 merging a/a incomplete! (edit conflicts, then use 'hg resolve --mark')
291 291 unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
292 292 [1]
293 293
294 294 attempt to continue
295 295
296 296 $ hg unshelve -c
297 297 abort: unresolved conflicts, can't continue
298 298 (see 'hg resolve', then 'hg unshelve --continue')
299 299 [255]
300 300
301 301 $ hg revert -r . a/a
302 302 $ hg resolve -m a/a
303 303 (no more unresolved files)
304 304
305 305 $ hg commit -m 'commit while unshelve in progress'
306 306 abort: unshelve already in progress
307 307 (use 'hg unshelve --continue' or 'hg unshelve --abort')
308 308 [255]
309 309
310 310 $ hg unshelve -c
311 311 rebasing 5:4702e8911fe0 "changes to '[mq]: second.patch'" (tip)
312 312 unshelve of 'default' complete
313 313
314 314 ensure the repo is as we hope
315 315
316 316 $ hg parents
317 317 changeset: 3:2e69b451d1ea
318 318 tag: tip
319 319 user: test
320 320 date: Thu Jan 01 00:00:00 1970 +0000
321 321 summary: second
322 322
323 323 $ hg heads -q
324 324 3:2e69b451d1ea
325 325
326 326 $ hg status -C
327 327 A b.rename/b
328 328 b/b
329 329 A c.copy
330 330 c
331 331 A foo/foo
332 332 R b/b
333 333 ? a/a.orig
334 334
335 335 there should be no shelves left
336 336
337 337 $ hg shelve -l
338 338
339 339 #if execbit
340 340
341 341 ensure that metadata-only changes are shelved
342 342
343 343 $ chmod +x a/a
344 344 $ hg shelve -q -n execbit a/a
345 345 $ hg status a/a
346 346 $ hg unshelve -q execbit
347 347 $ hg status a/a
348 348 M a/a
349 349 $ hg revert a/a
350 350
351 351 #endif
352 352
353 353 #if symlink
354 354
355 355 $ rm a/a
356 356 $ ln -s foo a/a
357 357 $ hg shelve -q -n symlink a/a
358 358 $ hg status a/a
359 359 $ hg unshelve -q symlink
360 360 $ hg status a/a
361 361 M a/a
362 362 $ hg revert a/a
363 363
364 364 #endif
365 365
366 366 set up another conflict between a commit and a shelved change
367 367
368 368 $ hg revert -q -C -a
369 369 $ rm a/a.orig b.rename/b c.copy
370 370 $ echo a >> a/a
371 371 $ hg shelve -q
372 372 $ echo x >> a/a
373 373 $ hg ci -m 'create conflict'
374 374 $ hg add foo/foo
375 375
376 376 if we resolve a conflict while unshelving, the unshelve should succeed
377 377
378 378 $ HGMERGE=true hg unshelve
379 379 unshelving change 'default'
380 380 temporarily committing pending changes (restore with 'hg unshelve --abort')
381 381 rebasing shelved changes
382 382 rebasing 6:c5e6910e7601 "changes to 'second'" (tip)
383 383 merging a/a
384 384 note: rebase of 6:c5e6910e7601 created no changes to commit
385 385 $ hg parents -q
386 386 4:33f7f61e6c5e
387 387 $ hg shelve -l
388 388 $ hg status
389 389 A foo/foo
390 390 $ cat a/a
391 391 a
392 392 c
393 393 x
394 394
395 395 test keep and cleanup
396 396
397 397 $ hg shelve
398 398 shelved as default
399 399 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
400 400 $ hg shelve --list
401 401 default (*) changes to 'create conflict' (glob)
402 402 $ hg unshelve --keep
403 403 unshelving change 'default'
404 404 $ hg shelve --list
405 405 default (*) changes to 'create conflict' (glob)
406 406 $ hg shelve --cleanup
407 407 $ hg shelve --list
408 408
409 409 $ hg shelve --cleanup --delete
410 410 abort: options '--cleanup' and '--delete' may not be used together
411 411 [255]
412 412 $ hg shelve --cleanup --patch
413 413 abort: options '--cleanup' and '--patch' may not be used together
414 414 [255]
415 415 $ hg shelve --cleanup --message MESSAGE
416 416 abort: options '--cleanup' and '--message' may not be used together
417 417 [255]
418 418
419 419 test bookmarks
420 420
421 421 $ hg bookmark test
422 422 $ hg bookmark
423 423 * test 4:33f7f61e6c5e
424 424 $ hg shelve
425 425 shelved as test
426 426 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
427 427 $ hg bookmark
428 428 * test 4:33f7f61e6c5e
429 429 $ hg unshelve
430 430 unshelving change 'test'
431 431 $ hg bookmark
432 432 * test 4:33f7f61e6c5e
433 433
434 434 shelve should still work even if mq is disabled
435 435
436 436 $ hg --config extensions.mq=! shelve
437 437 shelved as test
438 438 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
439 439 $ hg --config extensions.mq=! shelve --list
440 440 test (*) changes to 'create conflict' (glob)
441 441 $ hg --config extensions.mq=! unshelve
442 442 unshelving change 'test'
443 443
444 444 shelve should leave dirstate clean (issue4055)
445 445
446 446 $ cd ..
447 447 $ hg init shelverebase
448 448 $ cd shelverebase
449 449 $ printf 'x\ny\n' > x
450 450 $ echo z > z
451 451 $ hg commit -Aqm xy
452 452 $ echo z >> x
453 453 $ hg commit -Aqm z
454 454 $ hg up 0
455 455 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
456 456 $ printf 'a\nx\ny\nz\n' > x
457 457 $ hg commit -Aqm xyz
458 458 $ echo c >> z
459 459 $ hg shelve
460 460 shelved as default
461 461 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
462 462 $ hg rebase -d 1 --config extensions.rebase=
463 463 rebasing 2:323bfa07f744 "xyz" (tip)
464 464 merging x
465 465 saved backup bundle to $TESTTMP/shelverebase/.hg/strip-backup/323bfa07f744-78114325-backup.hg (glob)
466 466 $ hg unshelve
467 467 unshelving change 'default'
468 468 rebasing shelved changes
469 469 rebasing 4:b8fefe789ed0 "changes to 'xyz'" (tip)
470 470 $ hg status
471 471 M z
472 472
473 473 $ cd ..
474 474
475 475 shelve should only unshelve pending changes (issue4068)
476 476
477 477 $ hg init onlypendingchanges
478 478 $ cd onlypendingchanges
479 479 $ touch a
480 480 $ hg ci -Aqm a
481 481 $ touch b
482 482 $ hg ci -Aqm b
483 483 $ hg up -q 0
484 484 $ touch c
485 485 $ hg ci -Aqm c
486 486
487 487 $ touch d
488 488 $ hg add d
489 489 $ hg shelve
490 490 shelved as default
491 491 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
492 492 $ hg up -q 1
493 493 $ hg unshelve
494 494 unshelving change 'default'
495 495 rebasing shelved changes
496 496 rebasing 3:0cae6656c016 "changes to 'c'" (tip)
497 497 $ hg status
498 498 A d
499 499
500 500 unshelve should work on an ancestor of the original commit
501 501
502 502 $ hg shelve
503 503 shelved as default
504 504 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
505 505 $ hg up 0
506 506 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
507 507 $ hg unshelve
508 508 unshelving change 'default'
509 509 rebasing shelved changes
510 510 rebasing 3:be58f65f55fb "changes to 'b'" (tip)
511 511 $ hg status
512 512 A d
513 513
514 514 test bug 4073 we need to enable obsolete markers for it
515 515
516 516 $ cat >> $HGRCPATH << EOF
517 517 > [experimental]
518 518 > evolution=createmarkers
519 519 > EOF
520 520 $ hg shelve
521 521 shelved as default
522 522 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
523 523 $ hg debugobsolete `hg --debug id -i -r 1`
524 524 $ hg unshelve
525 525 unshelving change 'default'
526 526
527 527 unshelve should leave unknown files alone (issue4113)
528 528
529 529 $ echo e > e
530 530 $ hg shelve
531 531 shelved as default
532 532 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
533 533 $ hg status
534 534 ? e
535 535 $ hg unshelve
536 536 unshelving change 'default'
537 537 $ hg status
538 538 A d
539 539 ? e
540 540 $ cat e
541 541 e
542 542
543 543 unshelve should keep a copy of unknown files
544 544
545 545 $ hg add e
546 546 $ hg shelve
547 547 shelved as default
548 548 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
549 549 $ echo z > e
550 550 $ hg unshelve
551 551 unshelving change 'default'
552 552 $ cat e
553 553 e
554 554 $ cat e.orig
555 555 z
556 556
557 557
558 558 unshelve and conflicts with tracked and untracked files
559 559
560 560 preparing:
561 561
562 562 $ rm *.orig
563 563 $ hg ci -qm 'commit stuff'
564 564 $ hg phase -p null:
565 565
566 566 no other changes - no merge:
567 567
568 568 $ echo f > f
569 569 $ hg add f
570 570 $ hg shelve
571 571 shelved as default
572 572 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
573 573 $ echo g > f
574 574 $ hg unshelve
575 575 unshelving change 'default'
576 576 $ hg st
577 577 A f
578 578 ? f.orig
579 579 $ cat f
580 580 f
581 581 $ cat f.orig
582 582 g
583 583
584 584 other uncommitted changes - merge:
585 585
586 586 $ hg st
587 587 A f
588 588 ? f.orig
589 589 $ hg shelve
590 590 shelved as default
591 591 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
592 592 $ hg log -G --template '{rev} {desc|firstline} {author}' -R bundle://.hg/shelved/default.hg -r 'bundle()'
593 593 o 4 changes to 'commit stuff' shelve@localhost
594 594 |
595 595 $ hg log -G --template '{rev} {desc|firstline} {author}'
596 596 @ 3 commit stuff test
597 597 |
598 598 | o 2 c test
599 599 |/
600 600 o 0 a test
601 601
602 602 $ mv f.orig f
603 603 $ echo 1 > a
604 604 $ hg unshelve --date '1073741824 0'
605 605 unshelving change 'default'
606 606 temporarily committing pending changes (restore with 'hg unshelve --abort')
607 607 rebasing shelved changes
608 608 rebasing 5:23b29cada8ba "changes to 'commit stuff'" (tip)
609 609 merging f
610 610 warning: conflicts during merge.
611 611 merging f incomplete! (edit conflicts, then use 'hg resolve --mark')
612 612 unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
613 613 [1]
614 614 $ hg log -G --template '{rev} {desc|firstline} {author} {date|isodate}'
615 615 @ 5 changes to 'commit stuff' shelve@localhost 1970-01-01 00:00 +0000
616 616 |
617 617 | @ 4 pending changes temporary commit shelve@localhost 2004-01-10 13:37 +0000
618 618 |/
619 619 o 3 commit stuff test 1970-01-01 00:00 +0000
620 620 |
621 621 | o 2 c test 1970-01-01 00:00 +0000
622 622 |/
623 623 o 0 a test 1970-01-01 00:00 +0000
624 624
625 625 $ hg st
626 626 M f
627 627 ? f.orig
628 628 $ cat f
629 629 <<<<<<< dest: 5f6b880e719b - shelve: pending changes temporary commit
630 630 g
631 631 =======
632 632 f
633 633 >>>>>>> source: 23b29cada8ba - shelve: changes to 'commit stuff'
634 634 $ cat f.orig
635 635 g
636 636 $ hg unshelve --abort
637 637 rebase aborted
638 638 unshelve of 'default' aborted
639 639 $ hg st
640 640 M a
641 641 ? f.orig
642 642 $ cat f.orig
643 643 g
644 644 $ hg unshelve
645 645 unshelving change 'default'
646 646 temporarily committing pending changes (restore with 'hg unshelve --abort')
647 647 rebasing shelved changes
648 648 rebasing 5:23b29cada8ba "changes to 'commit stuff'" (tip)
649 649 $ hg st
650 650 M a
651 651 A f
652 652 ? f.orig
653 653
654 654 other committed changes - merge:
655 655
656 656 $ hg shelve f
657 657 shelved as default
658 658 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
659 659 $ hg ci a -m 'intermediate other change'
660 660 $ mv f.orig f
661 661 $ hg unshelve
662 662 unshelving change 'default'
663 663 rebasing shelved changes
664 664 rebasing 5:23b29cada8ba "changes to 'commit stuff'" (tip)
665 665 merging f
666 666 warning: conflicts during merge.
667 667 merging f incomplete! (edit conflicts, then use 'hg resolve --mark')
668 668 unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
669 669 [1]
670 670 $ hg st
671 671 M f
672 672 ? f.orig
673 673 $ cat f
674 674 <<<<<<< dest: * - test: intermediate other change (glob)
675 675 g
676 676 =======
677 677 f
678 678 >>>>>>> source: 23b29cada8ba - shelve: changes to 'commit stuff'
679 679 $ cat f.orig
680 680 g
681 681 $ hg unshelve --abort
682 682 rebase aborted
683 683 unshelve of 'default' aborted
684 684 $ hg st
685 685 ? f.orig
686 686 $ cat f.orig
687 687 g
688 688 $ hg shelve --delete default
689 689
690 690 Recreate some conflict again
691 691
692 692 $ cd ../repo
693 693 $ hg up -C -r 3
694 694 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
695 695 (leaving bookmark test)
696 696 $ echo y >> a/a
697 697 $ hg shelve
698 698 shelved as default
699 699 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
700 700 $ hg up test
701 701 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
702 702 (activating bookmark test)
703 703 $ hg unshelve
704 704 unshelving change 'default'
705 705 rebasing shelved changes
706 706 rebasing 5:4b555fdb4e96 "changes to 'second'" (tip)
707 707 merging a/a
708 708 warning: conflicts during merge.
709 709 merging a/a incomplete! (edit conflicts, then use 'hg resolve --mark')
710 710 unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
711 711 [1]
712 712
713 713 Test that resolving all conflicts in one direction (so that the rebase
714 714 is a no-op), works (issue4398)
715 715
716 716 $ hg revert -a -r .
717 717 reverting a/a (glob)
718 718 $ hg resolve -m a/a
719 719 (no more unresolved files)
720 720 $ hg unshelve -c
721 721 rebasing 5:4b555fdb4e96 "changes to 'second'" (tip)
722 722 note: rebase of 5:4b555fdb4e96 created no changes to commit
723 723 unshelve of 'default' complete
724 724 $ hg diff
725 725 $ hg status
726 726 ? a/a.orig
727 727 ? foo/foo
728 728 $ hg summary
729 729 parent: 4:33f7f61e6c5e tip
730 730 create conflict
731 731 branch: default
732 732 bookmarks: *test
733 733 commit: 2 unknown (clean)
734 734 update: (current)
735 735
736 736 $ hg shelve --delete --stat
737 737 abort: options '--delete' and '--stat' may not be used together
738 738 [255]
739 739 $ hg shelve --delete --name NAME
740 740 abort: options '--delete' and '--name' may not be used together
741 741 [255]
742 742
743 743 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now