hg.repository crashes python

Matt Mackall mpm at selenic.com
Tue Jul 8 17:05:21 UTC 2014


On Tue, 2014-07-08 at 08:06 -0300, Erich wrote:
> >
> > Have you tried without the len(repo)?
> 
> Yes, the same error happens.
> 
>  Is there no traceback?
> 
> No =/
> 
> I actually got it working with "Mercurial 3.0.1 for Python 2.7 on Windows
> x64 (source install)". Does the "Mercurial 3.0.2 source release" depends on
> the architecture (32 or 64 bits)? If not I must have gotten some else wrong
> with my install.

Mercurial is a fairly boring piece of Python software. The one thing it
does that not all (but many!) Python packages do is include C
extensions. Those extensions have to be compiled with the same version
of Python that you're using, with similar compiler settings.

So if it's broken, one or more of the following are probably true:

- you've got old bits of Mercurial around from a previous install
- you're using the wrong compiler
- you're compiling against the wrong version of Python
- you've found a bug in the latest Python release

FYI, Python 2.7.8 and Mercurial 3.0.2 were released on the same day, so
we didn't test them together.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list