test: do not add .pyc and .orig in test-commit-amend.t (issue4085)

This makes the test fails with disabled byte-compilation
(PYTHONDONTWRITEBYTECODE="1" environmental variable).
This commit is contained in:
Pierre-Yves David 2013-11-05 10:55:45 +01:00
parent 4e48b57a5d
commit 97cb1ad492

View File

@ -750,10 +750,8 @@ This shouldn't be possible:
$ 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]