##// 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:

r15440:9ab2b3b7 default
r16896:5af80d29 default
Show More
test-rebuildstate.t
29 lines | 356 B | text/troff | Tads3Lexer
/ tests / test-rebuildstate.t
Nicolas Dumazet
tests: unify test-rebuildstate
r12121 basic test for hg debugrebuildstate
$ hg init repo
$ cd repo
$ touch foo bar
$ hg ci -Am 'add foo bar'
adding bar
adding foo
$ touch baz
$ hg add baz
$ hg rm bar
$ hg debugrebuildstate
state dump after
$ hg debugstate --nodates | sort
Mads Kiilerich
windows: use umask 022 in debugstate output...
r15440 n 644 -1 bar
n 644 -1 foo
Nicolas Dumazet
tests: unify test-rebuildstate
r12121
status
$ hg st -A
! bar
? baz
C foo