contrib/sample.hgrc
changeset 2615 b075216da118
child 3938 20f1c8440c53
equal deleted inserted replaced
2611:1b4eb1f92433 2615:b075216da118
       
     1 ### --- User interface
       
     2 
       
     3 [ui]
       
     4 
       
     5 ### show changed files and be a bit more verbose if True
       
     6 
       
     7 # verbose = True
       
     8 
       
     9 ### username data to appear in comits
       
    10 ### it usually takes the form: Joe User <joe.user@host.com>
       
    11 
       
    12 # username = Joe User <j.user@example.com>
       
    13 
       
    14 ### --- Extensions
       
    15 
       
    16 [extensions]
       
    17 
       
    18 ### each extension has its own 'extension_name=path' line
       
    19 ### the default python library path is used when path is left blank
       
    20 ### the hgext dir is used when 'hgext.extension_name=' is written
       
    21 
       
    22 ### acl - Access control lists
       
    23 ### hg help acl
       
    24 
       
    25 # hgext.acl =
       
    26 
       
    27 ### bisect - binary search changesets to detect bugs
       
    28 ### hg help bisect
       
    29 
       
    30 # hgext.hbisect =
       
    31 
       
    32 ### bugzilla - update bugzilla bugs when changesets mention them
       
    33 ### hg help bugzilla
       
    34 
       
    35 # hgext.bugzilla =
       
    36 
       
    37 ### extdiff - Use external diff application instead of builtin one
       
    38 
       
    39 # hgext.extdiff =
       
    40 
       
    41 ### gpg - GPG checks and signing
       
    42 ### hg help gpg
       
    43 
       
    44 # hgext.gpg =
       
    45 
       
    46 ### hgk - GUI repository browser
       
    47 ### hg help view
       
    48 
       
    49 # hgk = /home/user/hg/hg/contrib/hgk.py
       
    50 
       
    51 ### mq - Mercurial patch queues
       
    52 ### hg help mq
       
    53 
       
    54 # hgext.mq =
       
    55 
       
    56 ### notify - Template driven e-mail notifications
       
    57 ### hg help notify
       
    58 
       
    59 # hgext.notify =
       
    60 
       
    61 ### patchbomb - send changesets as a series of patch emails
       
    62 ### hg help email
       
    63 
       
    64 # hgext.patchbomb =
       
    65 
       
    66 ### win32text - line ending conversion filters for the Windows platform
       
    67 
       
    68 # hgext.win32text =
       
    69 
       
    70 ### --- hgk additional configuration
       
    71 
       
    72 [hgk]
       
    73 
       
    74 ### set executable path
       
    75 
       
    76 # path = /home/user/hg/hg/contrib/hgk
       
    77 
       
    78 ### --- Hook to Mercurial actions - See hgrc man page for avaliable hooks
       
    79 
       
    80 [hooks]
       
    81 
       
    82 ### Example notify hooks (load hgext.notify extension before use)
       
    83 
       
    84 # incoming.notify = python:hgext.notify.hook
       
    85 # changegroup.notify = python:hgext.notify.hook
       
    86 
       
    87 ### Email configuration for the notify and patchbomb extensions
       
    88 
       
    89 [email]
       
    90 
       
    91 ### Your email address
       
    92 
       
    93 # from = user@example.com
       
    94 
       
    95 ### Method to send email - smtp or /usr/sbin/sendmail or other program name
       
    96 
       
    97 # method = smtp
       
    98 
       
    99 ### smtp server to send email to
       
   100 
       
   101 [smtp]
       
   102 
       
   103 # host = mail
       
   104 # port = 25
       
   105 # tls = false
       
   106 # username = user
       
   107 # password = blivet
       
   108 # local_hostname = myhost
       
   109 
       
   110 ### --- Email notification hook for server
       
   111 
       
   112 [notify]
       
   113 ### multiple sources can be specified as a whitespace or comma separated list
       
   114 
       
   115 # sources = serve push pull bundle
       
   116 
       
   117 ### set this to False when you're ready for mail to start sending
       
   118 
       
   119 # test = True
       
   120 
       
   121 ### path to config file with names of subscribers
       
   122 
       
   123 # config = /path/to/subscription/file