# HG changeset patch # User Pierre-Yves David # Date 2013-11-05 09:55:45 # Node ID 0151b61fed976372a4c26e6a3f09794ff87087b0 # Parent d24ee6d7d16730efe4b0894e0cb7c3e931411963 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). diff --git a/tests/test-commit-amend.t b/tests/test-commit-amend.t --- a/tests/test-commit-amend.t +++ b/tests/test-commit-amend.t @@ -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]