serving mercurial from apache, push gets error 500

Bill Barry after.fallout at gmail.com
Mon May 19 08:58:09 CDT 2008


Bill Barry wrote:
> I woke up this morning and one of my coworkers is having difficulties 
> pushing to a shared repository that we are all using. I can push and 
> pull from it just fine, but he gets an error when pushing (he can 
> pull). What can we do to fix his push?
>
> His prompt looks like this (url, username and password removed):
> c:\work\stellar-hg\Trunk>hg push
> pushing to https://******
> searching for changes
> abort: HTTP Error 500: Internal Server Error
>
This is what is in the error log (shortened by removing [Mon May 19 
07:29:35 2008] [error] [client 24.238.72.23] from each line):
Traceback (most recent call 
last):                                                                    
  File "/var/hg/hgwebdir.cgi", line 47, in 
?                                                          
                      
wsgicgi.launch(application)                                                                            

  File "/usr/lib/python2.4/site-packages/mercurial/hgweb/wsgicgi.py", 
line 65, in launch              
                      
application(environ, 
start_response)                                                                   

  File 
"/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 
74, in __call__       
                      
self.run_wsgi(req)    
  File 
"/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 
121, in run_wsgi      
                          
hgweb(repo).run_wsgi(req)                                                                              

  File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py", 
line 221, in run_wsgi         
                      
method(self, req)     
  File "/usr/lib/python2.4/site-packages/mercurial/hgweb/protocol.py", 
line 193, in unbundle          
                      
ret = web.repo.addchangegroup(gen, 'serve', 
url)                                                               
  File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 
2016, in addchangegroup        
                      
if fl.addgroup(chunkiter, revmap, trp) is 
None:                                                       
  File "/usr/lib/python2.4/site-packages/mercurial/revlog.py", line 
1182, in addgroup                 
                      
raise LookupError(p, self.indexfile, _('unknown 
parent'))                                             
mercurial.revlog      
.                     
LookupError           
:                     
data/Sfi/Sfi.B2BtoSfiSSO.csproj_deploy/Release/web.config.i at acc12301efdd: 
unknown parent              
                      
Premature end of script headers: hgwebdir.cgi



More information about the Mercurial mailing list