Serving HG repositories on Windows 2012 R2 Server.

Augie Fackler lists at durin42.com
Mon Sep 28 13:51:54 UTC 2015


(+mailing list, please keep the list cc'ed)

On Mon, Sep 28, 2015 at 2:01 AM, Anders Ishoey  (INT)
<Anders.Ishoey at teledyne-reson.com> wrote:
> Hi Augie,
>
> This removes a python error when loading CGI in case the random function complaints.
> However, the random function is probably only a symptom of an unhealthy installation/execution environment.

Yeah, that's what it sounds like. What was the exception you were
seeing, if not NotImplementedError?

> In this situation the failure is obvious. In other cases the code may fail within an exception handler, and the result may a wrong error message or simply wrong results.
>
> IF you want do the modification it is here:
>
> Modify c:\Python27\lib\random.py
> change            except NotImplementedError:
> to             except :
>
> Do NOT change indentation.
>
> /Anders Ishøy-Rasmussen
> Systems Architect
> Teledyne-Reson
>
> -----Original Message-----
> From: Augie Fackler [mailto:lists at durin42.com]
> Sent: 2015-09-25 18:50
> To: Donald Stufft; Anders Ishoey (INT)
> Cc: mercurial
> Subject: Re: Serving HG repositories on Windows 2012 R2 Server.
>
> (+ original poster since gmane helpfully dropped them)
>
> On Fri, Sep 25, 2015 at 11:41 AM, Donald Stufft <donald at stufft.io> wrote:
>> Anders Ishoey  (INT <Anders.Ishoey <at> teledyne-reson.com> writes:
>>> Python 2.7 (had to modify random.py. line 114 to make it work)
>>
>> Can you post what modifications you had to make it work? I'm curious.
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> https://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list