# HG changeset patch # User Jason Gauci # Date 1460401578 25200 # Node ID 4683398916702dd5d2c6ce334d225a8ae9261663 # Parent 7a1e0711401e4f9b50c8ed7032c3b21fa5dde7b8 tests: ensure that 'hg update' is disabled during histedit (issue3655) diff -r 7a1e0711401e -r 468339891670 tests/test-histedit-edit.t --- a/tests/test-histedit-edit.t Tue Apr 12 00:34:02 2016 -0400 +++ b/tests/test-histedit-edit.t Mon Apr 11 12:06:18 2016 -0700 @@ -77,6 +77,12 @@ Editing (e860deea161a), you may commit or record as needed now. (hg histedit --continue to resume) +try to update and get an error + $ hg update tip + abort: histedit in progress + (use 'hg histedit --continue' or 'hg histedit --abort') + [255] + edit the plan via the editor $ cat >> $TESTTMP/editplan.sh < cat > \$1 <