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).
--- 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]