[PATCH 12 of 13] Delete the README for purge, putting the useful informations in comments

Emanuele Aina faina.mail at tiscali.it
Tue Feb 27 07:06:12 UTC 2007


# HG changeset patch
# User Emanuele Aina <em at nerd.ocracy.org>
# Date 1172563536 -3600
# Node ID 8bcfb4474bc392f2a993bd5a8d20bc8879661164
# Parent  8bea9bf75cb80394032f141636cd297b99ac58f4
Delete the README for purge, putting the useful informations in comments

diff --git a/contrib/purge/README b/contrib/purge/README
deleted file mode 100644
--- a/contrib/purge/README
+++ /dev/null
@@ -1,60 +0,0 @@
-What is "hg purge"?
-===================
-"purge" is a simple extension for the Mercurial source control management
-system (http://www.selenic.com/mercurial).
-This extension adds a "purge" command to "hg" that removes files not known
-to Mercurial, this is useful to test local and uncommitted changes in the
-otherwise clean source tree.
-
-This means that Mercurial will delete:
- - Unknown files: files marked with "?" by "hg status"
- - Ignored files: files usually ignored by Mercurial because they match a
-   pattern in a ".hgignore" file
- - Empty directories: infact Mercurial ignores directories unless they
-   contain files under source control managment
-But it will leave untouched:
- - Unmodified files tracked by Mercurial
- - Modified files tracked by Mercurial
- - New files added to the repository (with "hg add")
-
-Be careful with "hg purge", 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:
-  hg purge --print
-
-To get the most recent version of "hg purge" visit its home page:
-  http://www.barisione.org/apps.html#hg-purge
-
-This program was inspired by the "cvspurge" script contained in CVS utilities
-(http://www.red-bean.com/cvsutils/).
-
-
-How to install
-==============
-The purge extension is distributed with Mercurial, to activate it you need to
-put these lines in your ~/.hgrc:
-
-  [extensions]
-  hgext.purge=
-
-For more information on the configuration files see the man page for "hgrc":
-  man 5 hgrc
-
-
-How to use "hg purge"
-====================
-For help on the usage of "hg purge" use:
-  hg help purge
-
-
-License
-=======
-Copyright (C) 2006 - Marco Barisione <marco at barisione.org>
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-A copy of the GNU General Public License is distributed along
-with Mercurial in the file COPYING.
diff --git a/contrib/purge/purge.py b/contrib/purge/purge.py
--- a/contrib/purge/purge.py
+++ b/contrib/purge/purge.py
@@ -2,6 +2,16 @@
 #
 # This is a small extension for Mercurial (http://www.selenic.com/mercurial)
 # that removes files not known to mercurial
+#
+# This program was inspired by the "cvspurge" script contained in CVS utilities
+# (http://www.red-bean.com/cvsutils/).
+#
+# To enable the "purge" extension put these lines in your ~/.hgrc:
+#  [extensions]
+#  hgext.purge=
+#
+# For help on the usage of "hg purge" use:
+#  hg help purge
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by



More information about the Mercurial-devel mailing list