source: configuration/hgrc/hgrc.server @ 1494:4f47fe4682f6

Revision 1494:4f47fe4682f6, 828 bytes checked in by niam, 16 months ago (diff)

[configuration][hg] updated server config]

Line 
1[ui]
2username = <user>
3
4[trusted]
5users = <user1, user1>
6groups = <group1, group2>
7
8[extensions]
9hgext.highlight=
10bookmarks =
11
12[bookmarks]
13track.current = True
14
15[web]
16allow_archive = zip gz bz2
17style = paper
18baseurl = <url to repository>
19allow_push = <user1, user1>
20push_ssl = false
21pygments_style = emacs
22
23[hooks]
24incoming.notify_push = for i in $(cat <path to list with email>); do hg log -r $HG_NODE --template '\nchangeset: {rev}:{node|short}\nbranch:    {branches}\nuser:      {author}\ndate:      {date|date}\n\ndescription:\n{desc}\n\n' -p | mail -s "libdodo: $HG_NODE" "$i" -a "From: <<from>>"; done; /bin/true
25
26changegroup.mirror = for i in $(cat <path to list with mirrors>); do hg push -f $i; done
27
28incoming.trac = /usr/bin/python /var/hg/libdodo/.hg/trac-post-commit-hook -p /var/trac/libdodo -r $HG_NODE; /bin/true
Note: See TracBrowser for help on using the repository browser.