Mercurial > hg
comparison tests/test-histedit-edit.t @ 27545:a67d2e059a51
histedit: use parse-error exception for parsing
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 27 Dec 2015 03:33:09 +0000 |
parents | a4f008612727 |
children | e7ff83b2bcfe |
comparison
equal
deleted
inserted
replaced
27544:a4f008612727 | 27545:a67d2e059a51 |
---|---|
457 > cat "\$1" | sed s/pick/fold/ > tmp | 457 > cat "\$1" | sed s/pick/fold/ > tmp |
458 > mv tmp "\$1" | 458 > mv tmp "\$1" |
459 > EOF | 459 > EOF |
460 $ HGEDITOR="sh ../edit.sh" hg histedit 2 | 460 $ HGEDITOR="sh ../edit.sh" hg histedit 2 |
461 warning: histedit rules saved to: .hg/histedit-last-edit.txt | 461 warning: histedit rules saved to: .hg/histedit-last-edit.txt |
462 abort: cannot fold into public change 18aa70c8ad22 | 462 hg: parse error: cannot fold into public change 18aa70c8ad22 |
463 [255] | 463 [255] |
464 $ cat .hg/histedit-last-edit.txt | 464 $ cat .hg/histedit-last-edit.txt |
465 fold 0012be4a27ea 2 extend a | 465 fold 0012be4a27ea 2 extend a |
466 | 466 |
467 # Edit history between 0012be4a27ea and 0012be4a27ea | 467 # Edit history between 0012be4a27ea and 0012be4a27ea |