##// END OF EJS Templates
test-commit: remove extra cd .....
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.

File last commit:

r12327:92e30e13 default
r16896:5af80d29 default
Show More
test-remove-new.t
13 lines | 263 B | text/troff | Tads3Lexer
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]