##// END OF EJS Templates
parsers: add a C function to pack the dirstate...
parsers: add a C function to pack the dirstate This is about 9 times faster than the Python dirstate packing code. The relatively small speedup is due to the poor locality and memory access patterns caused by traversing dicts and other boxed Python values.

File last commit:

r16913:f2719b38 default
r16955:92e1c64b 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 ..