[PATCH evolve-ext] evolve: fix the 'grab' alias to work on Windows

Matt Harbison matt_harbison at yahoo.com
Tue Sep 2 22:26:43 CDT 2014


Pierre-Yves David wrote:
>
>
> On 08/13/2014 02:24 AM, Matt Harbison wrote:
>> On Tue, 12 Aug 2014 19:56:26 -0400, Matt Harbison wrote:
>>
>>> # HG changeset patch
>>> # User Matt Harbison <matt_harbison at yahoo.com>
>>> # Date 1407884993 14400
>>> # Tue Aug 12 19:09:53 2014 -0400
>>> # Node ID 51cda4d2bb2cd52f4e90bf35c4243e33c8ec71bb
>>> # Parent 66f4c5c52d970f145cd218ceed065c3fe096631d
>>> evolve: fix the 'grab' alias to work on Windows
>>>
>>> $ ../../hg/tests/run-tests.py --with-hg=../../hg/hg --blacklist windows
>>> Skipped test-simple4server.t: blacklisted
>>> Warned test-obsolete.t: no result code from test
>>> Warned test-tutorial.t: no result code from test
>>> Warned test-evolve.t: no result code from test
>>> Warned test-userguide.t: no result code from test
>>> Warned test-sharing.t: no result code from test
>>> Warned test-drop.t: no result code from test
>
> Not sure what this Warnings mean. Greg do you have and idea ?
>
>>> Failed test-prune.t: output changed
>>> # Ran 41 tests, 1 skipped, 6 warned, 1 failed.
>>
>> The prune failure seems like a real bug in evolve d2fe19c818ea /
>> hg fff8e1cec90f:
>
> A clowny bug was recently detected by windows. Can you try again with
> public stable heads of Mercurial ?
>

There are a bunch of test failures with hg 3.1.1 and evolve 
6b0cf1b73693, on Windows anyway.  Running default hg (5c153c69fdb2) and 
the same evolve leads to a crash:

...
+    File "c:\Users\Matt\Projects\hg\mercurial\obsolete.py", line 324, 
in __init__
+      self._version, markers = _readmarkers(data)
+    File "c:/Users/Matt/Projects/hg-evolve/hgext/evolve.py", line 469, 
in safereadmarkers
+      if nullid in marker[1]:
+  TypeError: 'int' object is not subscriptable
+  [1]

I'll look further tomorrow when I have more sleep.

--Matt


More information about the Mercurial-devel mailing list