Issue while pushing and pulling from mercurial repository.

Oswal, Vipul (ETW - Infosys) Vipul.Oswal at nike.com
Fri Jul 8 19:03:43 UTC 2016


Hi ,I am getting error. HTTP Error: 404 (Not Found) [command returned code 255

Publishing/pulling the change from repository has suddenly stopped working. We have repository folder d:\hgrepo\active\all-projects.

Below is hgweb.config file - [paths] / = d:\hgrepo* [web] allow_push = * push_ssl = false

The URL - http://server:8989/hgweb.cgi/active/project-name/ gives us "404 - File or directory not found."
*        server OS and software - Microsoft windows server - 2008 R2

Mercurial version - TortoiseHg version 2.4.1 with Mercurial-2.2.2, Python-2.6.6, PyQt-4.8.6, Qt-4.7.4
*        server access/error log -

  *   % hg --repository C:\hg\active\NA_BRW pull --verbose http://hillsbor-svr-va:8989/hgweb.cgi/active/license/NA_BRW/
  *   HTTP Error: 404 (Not Found)
  *   [command returned code 255 Fri Jul 08 10:29:04 2016]
  *   NA_BRW%
*
*        hgweb.cgi script -

#!/usr/bin/env python

#

# An example hgweb CGI script, edit as necessary

# See also http://mercurial.selenic.com/wiki/PublishingRepositories



# Path to repo or hgweb config to serve (see 'hg help hgweb')

config = "c:\inetpub\hg2\hgweb.config"



# Uncomment and adjust if Mercurial is not installed system-wide

# (consult "installed modules" path from 'hg debuginstall'):

#import sys; sys.path.insert(0, "/path/to/python/lib")



# Uncomment to send python tracebacks to the browser if an error occurs:

#import cgitb; cgitb.enable()



from mercurial import demandimport; demandimport.enable()

from mercurial.hgweb import hgweb, wsgicgi

application = hgweb(config)

wsgicgi.launch(application)





We did not make any changes to files. Can you please suggest what would be the problem?


Regards,
Vipul Oswal | NA Tech -Developer | M -510-468-3827

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160708/ef6bfad7/attachment.html>


More information about the Mercurial mailing list