Mercurial > hg
changeset 16930:9efe4a95c099
purge: lowercase messages
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 12 Jun 2012 14:18:18 +0200 |
parents | 4b02d7006169 |
children | ee388b0a6f67 |
files | hgext/purge.py tests/test-mq.t tests/test-purge.t |
diffstat | 3 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/purge.py Tue Jun 12 14:18:18 2012 +0200 +++ b/hgext/purge.py Tue Jun 12 14:18:18 2012 +0200 @@ -101,10 +101,10 @@ status = repo.status(match=match, ignored=opts['all'], unknown=True) for f in sorted(status[4] + status[5]): - ui.note(_('Removing file %s\n') % f) + ui.note(_('removing file %s\n') % f) remove(removefile, f) for f in sorted(directories, reverse=True): if match(f) and not os.listdir(repo.wjoin(f)): - ui.note(_('Removing directory %s\n') % f) + ui.note(_('removing directory %s\n') % f) remove(os.rmdir, f)
--- a/tests/test-mq.t Tue Jun 12 14:18:18 2012 +0200 +++ b/tests/test-mq.t Tue Jun 12 14:18:18 2012 +0200 @@ -207,7 +207,7 @@ try the --mq option on a command provided by an extension $ hg purge --mq --verbose --config extensions.purge= - Removing file flaf + removing file flaf $ cd ..
--- a/tests/test-purge.t Tue Jun 12 14:18:18 2012 +0200 +++ b/tests/test-purge.t Tue Jun 12 14:18:18 2012 +0200 @@ -24,7 +24,7 @@ $ hg purge -p empty_dir $ hg purge -v - Removing directory empty_dir + removing directory empty_dir $ ls directory r1 @@ -38,9 +38,9 @@ untracked_dir/untracked_file1 untracked_dir/untracked_file2 $ hg purge -v - Removing file untracked_dir/untracked_file1 - Removing file untracked_dir/untracked_file2 - Removing directory untracked_dir + removing file untracked_dir/untracked_file1 + removing file untracked_dir/untracked_file2 + removing directory untracked_dir $ ls directory r1 @@ -58,8 +58,8 @@ untracked_file untracked_file_readonly $ hg purge -v - Removing file untracked_file - Removing file untracked_file_readonly + removing file untracked_file + removing file untracked_file_readonly $ ls directory r1 @@ -70,7 +70,7 @@ $ hg purge -p directory/untracked_file $ hg purge -v - Removing file directory/untracked_file + removing file directory/untracked_file $ ls directory r1 @@ -81,8 +81,8 @@ $ hg purge -p untracked_directory/nested_directory $ hg purge -v - Removing directory untracked_directory/nested_directory - Removing directory untracked_directory + removing directory untracked_directory/nested_directory + removing directory untracked_directory $ ls directory r1 @@ -94,8 +94,8 @@ $ hg purge -p untracked_directory/nested_directory $ hg purge -v - Removing directory untracked_directory/nested_directory - Removing directory untracked_directory + removing directory untracked_directory/nested_directory + removing directory untracked_directory $ cd .. $ ls directory @@ -109,8 +109,8 @@ $ hg purge -p ../untracked_directory untracked_directory/nested_directory $ hg purge -v ../untracked_directory - Removing directory untracked_directory/nested_directory - Removing directory untracked_directory + removing directory untracked_directory/nested_directory + removing directory untracked_directory $ cd .. $ ls directory @@ -131,7 +131,7 @@ $ hg purge -p --all ignored $ hg purge -v --all - Removing file ignored + removing file ignored $ ls directory r1 @@ -152,7 +152,7 @@ $ hg purge -p untracked_file $ hg purge -v 2> /dev/null - Removing file untracked_file + removing file untracked_file $ hg st ! r1 @@ -168,7 +168,7 @@ $ hg purge -p untracked_file $ hg purge -v - Removing file untracked_file + removing file untracked_file skip excluded files