hg.repository crashes python

Adrian Klaver adrian.klaver at aklaver.com
Tue Jul 8 00:29:17 UTC 2014


On 07/03/2014 11:52 AM, Erich wrote:
> Hello!
>
>    I'm trying to run this simple script:
>
> from mercurial import ui, hg
> repo = hg.repository(ui.ui(), ".")
> print len(repo)

Have you tried without the len(repo)?

>
> but it simply crashes saying python.exe stop working. What am I doing wrong?

Is there no traceback?

If there is, what is it?

Or what is the actual text of whatever error message you are getting?

>
> I'm using windows 7; python 2.7.8; and mercurial 3.0.2 (installed from
> sources: python setup.py install)
>
> Thanks in advance!
>
> --
> Erich Gonçalves Nogueira dos Santos

>


-- 
Adrian Klaver
adrian.klaver at aklaver.com



More information about the Mercurial mailing list