##// END OF EJS Templates
test-config-case: print only the Section we're interested in....
test-config-case: print only the Section we're interested in. This allows us to add additional settings to the global hgrc file created by run-tests.py without breaking this test.

File last commit:

r4463:a73cf208 default
r4528:85a69f4d default
Show More
test-purge.out
72 lines | 1.5 KiB | text/plain | TextLexer
Emanuele Aina
Add a test for the purge extension
r4145 % init
% setup
% delete an empty directory
empty_dir
Removing directory empty_dir
directory
r1
% delete an untracked directory
untracked_dir/untracked_file1
untracked_dir/untracked_file2
Removing file untracked_dir/untracked_file1
Removing file untracked_dir/untracked_file2
Removing directory untracked_dir
directory
r1
% delete an untracked file
untracked_file
Removing file untracked_file
directory
r1
% delete an untracked file in a tracked directory
directory/untracked_file
Removing file directory/untracked_file
directory
r1
% delete nested directories
untracked_directory/nested_directory
Removing directory untracked_directory/nested_directory
Removing directory untracked_directory
directory
r1
Alexis S. L. Carvalho
purge.py: fix invocation of statwalk
r4155 % delete nested directories from a subdir
untracked_directory/nested_directory
Removing directory untracked_directory/nested_directory
Removing directory untracked_directory
directory
r1
% delete only part of the tree
untracked_directory/nested_directory
Removing directory untracked_directory/nested_directory
Removing directory untracked_directory
directory
r1
directory/untracked_file
Emanuele Aina
Add a test for the purge extension
r4145 % delete ignored files
ignored
Removing file ignored
directory
r1
Emanuele Aina
purge: abort with missing files avoiding problems with name-mangling fs...
r4310 % abort with missing files until we support name mangling filesystems
refused to run
untracked_file still around
untracked_file
refused to run
untracked_file still around
Removing file untracked_file
directory
r1
Emanuele Aina
purge: add --include and --exclude options
r4463 % skip excluded files
directory
excluded_file
r1
% skip files in excluded dirs
directory
excluded_dir
r1
file
% skip excluded empty dirs
directory
excluded_dir
r1
% skip patterns