[PATCH 2 of 3] obsolete: append new markers to obsstore file instead of rewriting everything

Adrian Buehlmann adrian at cadifra.com
Sun Jul 15 17:13:49 CDT 2012


On 2012-07-16 00:01, Eduard-Cristian Stefan wrote:
> On 2012-07-16 00:12, Adrian Buehlmann wrote:
>> Yeah. Windows fun again.
>>
>> It turns out that file objects on Windows [1] seem to behave strangely,
>> compared to Linux: after f = open(..., 'ab'), f.tell() returns 0L on
>> Windows for nonzero (!) files, whereas on Linux, it returns the size of
>> the file.
>>
>> [1] as seen here with Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC
>> v.1500 64 bit (AMD64)] on win32)
>>
>> This hack lets test-obsolete.t pass for me on Windows:
>> ...
> 
> With this patch test-obsolete.t passes on my PC too.
> 

Thanks. Tracking this at http://bz.selenic.com/show_bug.cgi?id=3543


More information about the Mercurial-devel mailing list