Issue while pushing and pulling from mercurial repository.
Adrian Klaver
adrian.klaver at aklaver.com
Mon Jul 11 19:18:04 UTC 2016
On 07/11/2016 12:06 PM, Oswal, Vipul (ETW - Infosys) wrote:
> Below are some security updates on OS. Can you check tell us which of
> these would have caused this issue?
No, because:
A) I do not run Windows so I have little or no idea what these updates mean.
B) Even if I did I do not have the time to wade through 439 updates.
This is something that would be better answered by your System Admin.
>
> **
>
> *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>
>
--
Adrian Klaver
adrian.klaver at aklaver.com
More information about the Mercurial
mailing list