Mercurial > public > mercurial-scm > hg-stable
diff hgext/notify.py @ 9157:9261667e9b82
commands: use minirst parser when displaying help
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 16 Jul 2009 23:25:26 +0200 |
parents | 31177742f54a |
children | 0efb3360bdb3 74e717a21779 |
line wrap: on
line diff
--- a/hgext/notify.py Thu Jul 16 23:25:25 2009 +0200 +++ b/hgext/notify.py Thu Jul 16 23:25:26 2009 +0200 @@ -10,7 +10,7 @@ Subscriptions can be managed through a hgrc file. Default mode is to print messages to stdout, for testing and configuring. -To use, configure the notify extension and enable it in hgrc like this: +To use, configure the notify extension and enable it in hgrc like this:: [extensions] hgext.notify = @@ -24,11 +24,11 @@ [notify] # config items go here -Required configuration items: +Required configuration items:: config = /path/to/file # file containing subscriptions -Optional configuration items: +Optional configuration items:: test = True # print messages to stdout for testing strip = 3 # number of slashes to strip for url paths @@ -50,6 +50,8 @@ The notify config file has same format as a regular hgrc file. It has two sections so you can express subscriptions in whatever way is handier for you. +:: + [usersubs] # key is subscriber email, value is ","-separated list of glob patterns user@host = pattern