Mercurial > hg
view tests/test-remove-new.t @ 16952:d1a0ac9b6b8a stable
test-commit: remove extra cd ..
This specific cd .. leaves the base directory of the test ($TESTTMP).
Removing it avoids that test artifacts (e.g. files) are created
outside of the base directory.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 09 Jun 2012 14:20:25 +0200 |
parents | 92e30e135581 |
children |
line wrap: on
line source
test that 'hg commit' does not crash if the user removes a newly added file $ hg init $ echo This is file a1 > a $ hg add a $ hg commit -m "commit #0" $ touch b $ hg add b $ rm b $ hg commit -A -m"comment #1" removing b nothing changed [1]