Mercurial > hg-stable
changeset 9072:59e5437bbcdc
purge: wrapped docstrings at 78 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 07 Jul 2009 23:54:42 +0200 |
parents | 141e3ef20d84 |
children | ec1cd3176625 |
files | hgext/purge.py |
diffstat | 1 files changed, 7 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/purge.py Tue Jul 07 23:54:42 2009 +0200 +++ b/hgext/purge.py Tue Jul 07 23:54:42 2009 +0200 @@ -32,13 +32,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 management + - Empty directories: in fact Mercurial ignores directories unless they + contain files under source control management But it will leave untouched: - Modified and unmodified tracked files - Ignored files (unless --all is specified) @@ -47,10 +47,9 @@ 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'