Mercurial > hg
changeset 7998:e2c55c4a25e2
purge: word-wrap help texts at 70 characters
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 04 Apr 2009 23:18:51 +0200 |
parents | 8eb9f495e150 |
children | b25110140573 |
files | hgext/purge.py |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/purge.py Sat Apr 04 23:18:41 2009 +0200 +++ b/hgext/purge.py Sat Apr 04 23:18:51 2009 +0200 @@ -34,13 +34,13 @@ def purge(ui, repo, *dirs, **opts): '''removes files not tracked by Mercurial - Delete files not known to Mercurial. This is useful to test local and - uncommitted changes in an otherwise-clean source tree. + Delete files not known to Mercurial. This is useful to test local + and uncommitted changes in an otherwise-clean source tree. This means that purge will delete: - Unknown files: files marked with "?" by "hg status" - - Empty directories: in fact Mercurial ignores directories unless they - contain files under source control managment + - Empty directories: in fact Mercurial ignores directories unless + they contain files under source control managment But it will leave untouched: - Modified and unmodified tracked files - Ignored files (unless --all is specified) @@ -49,9 +49,10 @@ If directories are given on the command line, only files in these directories are considered. - Be careful with purge, as you could irreversibly delete some files you - forgot to add to the repository. If you only want to print the list of - files that this program would delete, use the --print option. + Be careful with purge, as you could irreversibly delete some files + you forgot to add to the repository. If you only want to print the + list of files that this program would delete, use the --print + option. ''' act = not opts['print'] eol = '\n'