Mercurial > hg-stable
changeset 2365:a5d2e5490ac7
Added an explanation on how to enable the extension in "~/.hgrc"
author | demian@gaudron.lan |
---|---|
date | Sat, 13 May 2006 14:12:13 +0200 |
parents | f368a1c302d5 |
children | f9f53c7e1875 |
files | README |
diffstat | 1 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/README Fri May 12 20:26:19 2006 +0200 +++ b/README Sat May 13 14:12:13 2006 +0200 @@ -25,11 +25,18 @@ How to install ============== -Put the "purge.py" file in a directory of your choice, then enable the -extension putting a line like: - purge=/path/you/choose/purge.py -in the "[extensions]" section of a configuration file read by "hg". For -more information on these files read the man page for "hgrc": +Put the "purge.py" file in a directory of your choice. Enable the extension +inserting an instruction like "purge=/path/you/choose/purge.py" in the +"[extensions]" section of a configuration file read by "hg". + +For instance if you installed the script in "/home/USER/hg-purge/", you +can create a file named ".hgrc" in your home directory with the following +content: + [extensions] + purge=/home/USER/hg-purge/purge.py +Note that using "~/USER/hg-purge/purge.py" does not work with hg 0.9. + +For more information on the configuration files see the man page for "hgrc": man 5 hgrc