| author | Scott Tsai <scottt.tw@gmail.com> |
| Thu Jan 05 01:34:04 2012 +0800 (4 months ago) | |
| changeset 9 | 206e087662de |
| child 13 | a5eb0595fc76 |
| permissions | -rw-r--r-- |
| scottt@2 | 1 |
### --- User interface |
| scottt@2 | 2 |
|
| scottt@2 | 3 |
[ui] |
| scottt@2 | 4 |
|
| scottt@2 | 5 |
### show changed files and be a bit more verbose if True |
| scottt@2 | 6 |
|
| scottt@2 | 7 |
# verbose = True |
| scottt@2 | 8 |
|
| scottt@2 | 9 |
### username data to appear in comits |
| scottt@2 | 10 |
### it usually takes the form: Joe User <joe.user@host.com> |
| scottt@2 | 11 |
|
| scottt@2 | 12 |
username = Scott Tsai <scottt.tw@gmail.com> |
| scottt@2 | 13 |
|
| scottt@2 | 14 |
### --- Extensions |
| scottt@2 | 15 |
|
| scottt@2 | 16 |
[extensions] |
| scottt@2 | 17 |
hgext.svn = /home/scottt/work/mercurial/hgsubversion |
| scottt@2 | 18 |
hgext.rebase = |
| scottt@2 | 19 |
hgext.convert = |
| scottt@2 | 20 |
hgext.fetch = |
| scottt@2 | 21 |
hgext.color = |
| scottt@2 | 22 |
|
| scottt@2 | 23 |
### each extension has its own 'extension_name=path' line |
| scottt@2 | 24 |
### the default python library path is used when path is left blank |
| scottt@2 | 25 |
### the hgext dir is used when 'hgext.extension_name=' is written |
| scottt@2 | 26 |
|
| scottt@2 | 27 |
### acl - Access control lists |
| scottt@2 | 28 |
### hg help acl |
| scottt@2 | 29 |
|
| scottt@2 | 30 |
# hgext.acl = |
| scottt@2 | 31 |
|
| scottt@2 | 32 |
### bisect - binary search changesets to detect bugs |
| scottt@2 | 33 |
### hg help bisect |
| scottt@2 | 34 |
|
| scottt@2 | 35 |
# hgext.hbisect = |
| scottt@2 | 36 |
|
| scottt@2 | 37 |
### bugzilla - update bugzilla bugs when changesets mention them |
| scottt@2 | 38 |
### hg help bugzilla |
| scottt@2 | 39 |
|
| scottt@2 | 40 |
# hgext.bugzilla = |
| scottt@2 | 41 |
|
| scottt@2 | 42 |
### extdiff - Use external diff application instead of builtin one |
| scottt@2 | 43 |
|
| scottt@2 | 44 |
hgext.extdiff = |
| scottt@2 | 45 |
|
| scottt@2 | 46 |
### gpg - GPG checks and signing |
| scottt@2 | 47 |
### hg help gpg |
| scottt@2 | 48 |
|
| scottt@2 | 49 |
# hgext.gpg = |
| scottt@2 | 50 |
|
| scottt@2 | 51 |
### graphlog - ASCII graph log |
| scottt@2 | 52 |
### hg help glog |
| scottt@2 | 53 |
|
| scottt@2 | 54 |
hgext.graphlog = |
| scottt@2 | 55 |
|
| scottt@2 | 56 |
### hgk - GUI repository browser |
| scottt@2 | 57 |
### hg help view |
| scottt@2 | 58 |
|
| scottt@2 | 59 |
hgext.hgk = |
| scottt@2 | 60 |
|
| scottt@2 | 61 |
### mq - Mercurial patch queues |
| scottt@2 | 62 |
### hg help mq |
| scottt@2 | 63 |
|
| scottt@2 | 64 |
hgext.mq = |
| scottt@2 | 65 |
|
| scottt@2 | 66 |
### notify - Template driven e-mail notifications |
| scottt@2 | 67 |
### hg help notify |
| scottt@2 | 68 |
|
| scottt@2 | 69 |
# hgext.notify = |
| scottt@2 | 70 |
|
| scottt@2 | 71 |
### patchbomb - send changesets as a series of patch emails |
| scottt@2 | 72 |
### hg help email |
| scottt@2 | 73 |
|
| scottt@2 | 74 |
# hgext.patchbomb = |
| scottt@2 | 75 |
|
| scottt@2 | 76 |
### churn - create a graph showing who changed the most lines |
| scottt@2 | 77 |
### hg help churn |
| scottt@2 | 78 |
|
| scottt@2 | 79 |
hgext.churn= |
| scottt@2 | 80 |
|
| scottt@2 | 81 |
### win32text - line ending conversion filters for the Windows platform |
| scottt@2 | 82 |
|
| scottt@2 | 83 |
# hgext.win32text = |
| scottt@2 | 84 |
|
| scottt@2 | 85 |
### --- hgk additional configuration |
| scottt@2 | 86 |
|
| scottt@2 | 87 |
[hgk] |
| scottt@2 | 88 |
|
| scottt@2 | 89 |
### set executable path |
| scottt@2 | 90 |
|
| scottt@2 | 91 |
# path = /home/user/hg/hg/contrib/hgk |
| scottt@2 | 92 |
|
| scottt@2 | 93 |
### --- Hook to Mercurial actions - See hgrc man page for avaliable hooks |
| scottt@2 | 94 |
|
| scottt@2 | 95 |
[hooks] |
| scottt@2 | 96 |
|
| scottt@2 | 97 |
### Example notify hooks (load hgext.notify extension before use) |
| scottt@2 | 98 |
|
| scottt@2 | 99 |
# incoming.notify = python:hgext.notify.hook |
| scottt@2 | 100 |
# changegroup.notify = python:hgext.notify.hook |
| scottt@2 | 101 |
|
| scottt@2 | 102 |
### Email configuration for the notify and patchbomb extensions |
| scottt@2 | 103 |
|
| scottt@2 | 104 |
[email] |
| scottt@2 | 105 |
|
| scottt@2 | 106 |
### Your email address |
| scottt@2 | 107 |
|
| scottt@2 | 108 |
# from = user@example.com |
| scottt@2 | 109 |
|
| scottt@2 | 110 |
### Method to send email - smtp or /usr/sbin/sendmail or other program name |
| scottt@2 | 111 |
|
| scottt@2 | 112 |
# method = smtp |
| scottt@2 | 113 |
|
| scottt@2 | 114 |
### smtp server to send email to |
| scottt@2 | 115 |
|
| scottt@2 | 116 |
[smtp] |
| scottt@2 | 117 |
|
| scottt@2 | 118 |
# host = mail |
| scottt@2 | 119 |
# port = 25 |
| scottt@2 | 120 |
# tls = false |
| scottt@2 | 121 |
# username = user |
| scottt@2 | 122 |
# password = blivet |
| scottt@2 | 123 |
# local_hostname = myhost |
| scottt@2 | 124 |
|
| scottt@2 | 125 |
### --- Email notification hook for server |
| scottt@2 | 126 |
|
| scottt@2 | 127 |
[notify] |
| scottt@2 | 128 |
### multiple sources can be specified as a whitespace or comma separated list |
| scottt@2 | 129 |
|
| scottt@2 | 130 |
# sources = serve push pull bundle |
| scottt@2 | 131 |
|
| scottt@2 | 132 |
### set this to False when you're ready for mail to start sending |
| scottt@2 | 133 |
|
| scottt@2 | 134 |
# test = True |
| scottt@2 | 135 |
|
| scottt@2 | 136 |
### path to config file with names of subscribers |
| scottt@2 | 137 |
|
| scottt@2 | 138 |
# config = /path/to/subscription/file |
| scottt@2 | 139 |
|
| scottt@2 | 140 |
[diff] |
| scottt@2 | 141 |
git = 1 |
| scottt@2 | 142 |
showfunc = 1 |
| scottt@2 | 143 |
|
| scottt@2 | 144 |
[extdiff] |
| scottt@2 | 145 |
cmd.vdiff = kdiff3 |
| scottt@2 | 146 |
|
| scottt@2 | 147 |
[tortoisehg] |
| scottt@2 | 148 |
commit = internal |
| scottt@2 | 149 |
view = hgview |
| scottt@2 | 150 |
log = internal |
| scottt@2 | 151 |
vdiff = vdiff |
| scottt@2 | 152 |
status = internal |
| scottt@2 | 153 |
hgconfig = 0 |
| scottt@2 | 154 |
editor = gvim |