Mercurial > hg
comparison hgext/purge/README @ 2381:ab7a438294fc
Rewritten install instructions for hg-purge to match new situation, fixed typos.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 02 Jun 2006 00:28:28 +0200 |
parents | e90cff87f871 |
children |
comparison
equal
deleted
inserted
replaced
2380:46ec76f80e18 | 2381:ab7a438294fc |
---|---|
18 - New files added to the repository (with "hg add") | 18 - New files added to the repository (with "hg add") |
19 | 19 |
20 Be careful with "hg purge", you could irreversibly delete some files you | 20 Be careful with "hg purge", you could irreversibly delete some files you |
21 forgot to add to the repository. If you only want to print the list of | 21 forgot to add to the repository. If you only want to print the list of |
22 files that this program would delete use: | 22 files that this program would delete use: |
23 hg purge -vn | 23 hg purge --print |
24 | 24 |
25 To get the most recent version of "hg purge" visit its home page: | 25 To get the most recent version of "hg purge" visit its home page: |
26 http://www.barisione.org/apps.html#hg-purge | 26 http://www.barisione.org/apps.html#hg-purge |
27 | 27 |
28 This program was inspired by the "cvspurge" script contained in CVS utilities | 28 This program was inspired by the "cvspurge" script contained in CVS utilities |
29 (http://www.red-bean.com/cvsutils/). | 29 (http://www.red-bean.com/cvsutils/). |
30 | 30 |
31 | 31 |
32 How to install | 32 How to install |
33 ============== | 33 ============== |
34 Obviously you need an installed version of Mercurial to use this extension. | 34 The purge extension is distributed with Mercurial, to activate it you need to |
35 "purge" has been tested with Mercurial 0.8.1 and 0.9 but it may work with | 35 put these lines in your ~/.hgrc: |
36 other versions as well. | |
37 | 36 |
38 Put the "purge.py" file in a directory of your choice. Enable the extension | |
39 inserting an instruction like "purge=/path/you/choose/purge.py" in the | |
40 "[extensions]" section of a configuration file read by "hg". | |
41 | |
42 For instance if you installed the script in "/home/USER/hg-purge/", you | |
43 can create a file named ".hgrc" in your home directory with the following | |
44 content: | |
45 [extensions] | 37 [extensions] |
46 purge=/home/USER/hg-purge/purge.py | 38 hgext.purge= |
47 Note that using "~/USER/hg-purge/purge.py" does not work with hg 0.9. | |
48 | 39 |
49 For more information on the configuration files see the man page for "hgrc": | 40 For more information on the configuration files see the man page for "hgrc": |
50 man 5 hgrc | 41 man 5 hgrc |
51 | 42 |
52 | 43 |
64 but WITHOUT ANY WARRANTY; without even the implied warranty of | 55 but WITHOUT ANY WARRANTY; without even the implied warranty of |
65 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
66 GNU General Public License for more details. | 57 GNU General Public License for more details. |
67 | 58 |
68 A copy of the GNU General Public License is distributed along | 59 A copy of the GNU General Public License is distributed along |
69 with this program in the file COPYING.GPL. | 60 with Mercurial in the file COPYING. |