HGRC problem

Matt Mackall mpm at selenic.com
Thu May 5 22:46:55 UTC 2011


On Thu, 2011-05-05 at 08:09 -0700, Mahmoud Moursy wrote:
> 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:

Usually, this is a problem with security checks:

http://mercurial.selenic.com/wiki/Trust

> [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
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial


-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list