Issue while pushing and pulling from mercurial repository.
Oswal, Vipul (ETW - Infosys)
Vipul.Oswal at nike.com
Mon Jul 11 19:06:07 UTC 2016
Below are some security updates on OS. Can you check tell us which of these would have caused this issue?
[cid:image001.png at 01D1DB6C.9ACECC90]
[cid:image002.png at 01D1DB6C.9ACECC90]
From: Oswal, Vipul (ETW - Infosys)
Sent: Monday, July 11, 2016 9:56 AM
To: 'Adrian Klaver'; mercurial at mercurial-scm.org
Subject: RE: Issue while pushing and pulling from mercurial repository.
Was there an upgrade to the OS between the time the push/pull worked and the time it did not?
Ans - There was no upgrade to OS
Have you checked firewall software to see if someone changed the rules?
Ans - I donât think so. If the just change the path in hgweb.config from : -
[paths]
/ = d:\hgrepo\*
[web]
allow_push = *
push_ssl = false
TO -
[paths]
/ = d:\hgrepo\active\*
[web]
allow_push = *
push_ssl = false
· I am able to pull and push the changes, but now we have to re-create the new folder which wonât have active as the main directory
· Before the code in local machine when we pull changes would be C:\hg\active\IHM and now it would be C:\hg\IHM
· By this each one of us have to create a new folder for each of the project , that would be time consumtion. I am sure I am missing some path somewhere.
Any help would be appreciated.
Do the paths exist?
Ans â Yes it exists
Thanks,
Vipul
-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver at aklaver.com]
Sent: Monday, July 11, 2016 7:26 AM
To: Oswal, Vipul (ETW - Infosys); mercurial at mercurial-scm.org<mailto:mercurial at mercurial-scm.org>
Subject: Re: Issue while pushing and pulling from mercurial repository.
On 07/08/2016 12:03 PM, Oswal, Vipul (ETW - Infosys) wrote:
> 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?
Was there an upgrade to the OS between the time the push/pull worked and the time it did not?
Have you checked firewall software to see if someone changed the rules?
Do the paths exist?
>
>
>
>
>
> Regards,
>
> Vipul Oswal | NA Tech âDeveloper | M -510-468-3827
>
>
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org<mailto:Mercurial at mercurial-scm.org>
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
--
Adrian Klaver
adrian.klaver at aklaver.com<mailto:adrian.klaver at aklaver.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160711/83955490/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7727 bytes
Desc: image001.png
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160711/83955490/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 55521 bytes
Desc: image002.png
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160711/83955490/attachment-0001.png>
More information about the Mercurial
mailing list