HGRC problem
Mahmoud Moursy
mmoursy at A2C.com
Thu May 5 15:09:07 UTC 2011
Hello,
I am using mercurial on linux SLES and hgweb.cgi to access the repositories over http and am using apache 2.2.
my problem is:
in the hgrc file I have enabled the auto update after pushing changes and it was working on widows but when we migrated the project to linux the update never got triggered after any of the pushes.
I tried to even run shell script after changegroup but no luck the script didnt even get excuted.
I would apperciate if you can help me with that.copy of my HGRC is below:
[web]
# enable snapshot downloads
allow_archive = gz zip bz2
contact =Mahmoud Moursy
Author =Mahmoud Moursy
baseurl = http://10.220.114.246/hg/MoudyTest2 <http://ex12.myhostedexchange.com/exchweb/bin/redir.asp?URL=http://10.220.114.246/hg/MoudyTest2>
allow_push = mmoursy ,spethe
push_ssl = false
[hooks]
changegroup = hg update >&2
# ACL hook
pretxnchangegroup.acl = python:hgext.acl.hook
# send one email per group of changes
changegroup.notify = python:hgext.notify.hook
[extensions]
hgext.notify =
[email]
from = mmoursy at thomson.com
[smtp]
host = relay.int.westgroup.com
# presently it is necessary to specify the baseurl for the notify
# extension to work. It can be a dummy value if your repo isn't
# available via http
[notify]
#multiple sources can be specified as a whitespace separated list
sources = serve push pull bundle
# really send email
test = False
# subscriber data lives in the notify repo
config =/projects\MoudyTest2\.hg\notify.conf
template = \ndetails: {baseurl}{webroot}/rev/{node|short}\nchangeset: {rev}:{node|short}\nuser: {author}\ndate: {date|date}\ndescription:\n{desc}\n maxdiff = 300
Thanks
Mahmoud Moursy
Java Consultant,A2C consulting
1770 market street philadelpiha,PA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20110505/ffeb4e96/attachment.html>
More information about the Mercurial
mailing list