Mercurial > hg > mercurial-crew-with-dirclash
comparison README @ 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 |
comparison
equal
deleted
inserted
replaced
2364:f368a1c302d5 | 2365:a5d2e5490ac7 |
---|---|
23 hg purge -vn | 23 hg purge -vn |
24 | 24 |
25 | 25 |
26 How to install | 26 How to install |
27 ============== | 27 ============== |
28 Put the "purge.py" file in a directory of your choice, then enable the | 28 Put the "purge.py" file in a directory of your choice. Enable the extension |
29 extension putting a line like: | 29 inserting an instruction like "purge=/path/you/choose/purge.py" in the |
30 purge=/path/you/choose/purge.py | 30 "[extensions]" section of a configuration file read by "hg". |
31 in the "[extensions]" section of a configuration file read by "hg". For | 31 |
32 more information on these files read the man page for "hgrc": | 32 For instance if you installed the script in "/home/USER/hg-purge/", you |
33 can create a file named ".hgrc" in your home directory with the following | |
34 content: | |
35 [extensions] | |
36 purge=/home/USER/hg-purge/purge.py | |
37 Note that using "~/USER/hg-purge/purge.py" does not work with hg 0.9. | |
38 | |
39 For more information on the configuration files see the man page for "hgrc": | |
33 man 5 hgrc | 40 man 5 hgrc |
34 | 41 |
35 | 42 |
36 How to use "hg purge" | 43 How to use "hg purge" |
37 ==================== | 44 ==================== |