[PATCH 2 of 2] setup: call identify directly from mercurial.commands
Gilles Moris
gilles.moris at free.fr
Fri Feb 13 02:26:44 CST 2009
On Thu February 12 2009 23:58:08 Martin Geisler wrote:
> Could you try it in an interactive session, something like this:
>
> >>> import mmap
> >>> devzero = file("/dev/zero")
> >>> m = mmap.mmap(devzero.fileno(), 10, mmap.MAP_PRIVATE)
> >>> m.write("hello")
> >>> m.move(5, 0, 5)
> >>> m[:]
> 'hellohello'
>
It fails as well, with the same error:
ValueError: source or destination out of range.
However, you will found the following even more interresting.
I had recompiled several versions of python in addition of the standard
python 2.4.3 installed by default. I have repeated the same commands:
- python 2.3.6 recompiled: fails
- python 2.4.3 FC5: fails
- python 2.4.4 recompiled: succeeds
- python 2.5.2 recompiled: succeeds
Note that this is 64 bits python binaries. It could be worth testing on
32 bits version prior 2.4.4 if it's working.
Regards.
Gilles.
More information about the Mercurial-devel
mailing list