##// END OF EJS Templates
tests: run many tests in $TESTTMP/repo instead of $TESTTMP...
tests: run many tests in $TESTTMP/repo instead of $TESTTMP This is useful so we can store other files in $TESTTMP (in particular tests that use docket files (nodemap, dirstate-v2) keep file uids in $TESTTMP/UID)

File last commit:

r50516:55c6ebd1 stable
r50516:55c6ebd1 stable
Show More
test-revert-unknown.t
31 lines | 345 B | text/troff | Tads3Lexer
/ tests / test-revert-unknown.t
Arseniy Alekseyev
tests: run many tests in $TESTTMP/repo instead of $TESTTMP...
r50516 $ hg init repo
$ cd repo
Nicolas Dumazet
tests: unify test-revert-unknown
r12111 $ touch unknown
$ touch a
$ hg add a
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg ci -m "1"
Nicolas Dumazet
tests: unify test-revert-unknown
r12111
$ touch b
$ hg add b
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg ci -m "2"
Nicolas Dumazet
tests: unify test-revert-unknown
r12111
Should show unknown
$ hg status
? unknown
$ hg revert -r 0 --all
removing b
Should show unknown and b removed
$ hg status
R b
? unknown
Should show a and unknown
Joerg Sonnenberger
tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems...
r45218 $ ls -A
.hg
Nicolas Dumazet
tests: unify test-revert-unknown
r12111 a
unknown