diff -r d24ee6d7d167 -r 0151b61fed97 tests/test-commit-amend.t --- a/tests/test-commit-amend.t Fri Nov 01 17:04:18 2013 -0500 +++ b/tests/test-commit-amend.t Tue Nov 05 10:55:45 2013 +0100 @@ -750,10 +750,8 @@ $ hg branch closewithamend marked working directory as branch closewithamend (branches are permanent and global, did you want a bookmark?) - $ hg ci -Am.. - adding cc.orig - adding obs.py - adding obs.pyc + $ hg add obs.py + $ hg ci -m.. $ hg ci --amend --close-branch -m 'closing' abort: can only close branch heads [255]