##// END OF EJS Templates
subrepo: add test whether "[paths]" is configured correctly at subrepo creation...
subrepo: add test whether "[paths]" is configured correctly at subrepo creation This test is added for changes in the subsequent patch. This test doesn't use "(glob)" for expected output, because "[paths]" is configured at subrepo creation by "_abssource()" using "posixpath.join()" to join path components.

File last commit:

r16913:f2719b38 default
r21890:0f916db7 default
Show More
test-rebuildstate.t
30 lines | 366 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
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913 $ cd ..