##// END OF EJS Templates
test: show how purge removes ignored directories...
test: show how purge removes ignored directories Apparently the rust code path removes ignored directories even though the pure code path doesn't. Show this in tests.

File last commit:

r50315:55f8f3b6 stable
r50315:55f8f3b6 stable
Show More
test-purge-ignored-directory.t
13 lines | 371 B | text/troff | Tads3Lexer
/ tests / test-purge-ignored-directory.t
skip ignored directories if -i or --all not specified
$ hg init t
$ cd t
$ echo 'ignored' > .hgignore
$ hg ci -qA -m init -d'2 0'
$ mkdir ignored
The better behavior here is the non-rust behavior, which is to keep
the directory and only delete it when -i or --all is given.
$ hg purge -v --no-confirm
removing directory ignored (known-bad-output rust !)