[PATCH V3] test-walk: enable for Windows

Adrian Buehlmann adrian at cadifra.com
Tue Jun 12 04:00:07 CDT 2012


On 2012-06-12 10:57, Adrian Buehlmann wrote:
> On 2012-06-12 10:42, Adrian Buehlmann wrote:
>> # HG changeset patch
>> # User Adrian Buehlmann <adrian at cadifra.com>
>> # Date 1339418460 -7200
>> # Node ID 199802c1ac5d1b04cfb605b4e8e0b5ad8c809be3
>> # Parent  b112e265b78a614dac15d5be92d39926d5e653da
>> test-walk: enable for Windows
>>
>> Changes to V2 of the patch:
>>  - less glob-ish
>>  - less horrible to review
>>  - still keeps that glog:glob file for all cases
>>  - simply doing replace('\\', '/') in debugwalk (after all, it's
>>    just a debug command, so why fuss over it?)
>>
>> Of course, passes on Windows and Ubtuntu and check-code found nothing
>> to bicker about.
>>
>> Can we agree to finally start checking our kidney beans on Windows too? :-)
>>
> 
> [..]
> 
>> @@ -161,7 +233,7 @@
>>    f  mammals/Procyonidae/raccoon     Procyonidae/raccoon
>>    f  mammals/skunk                   skunk
>>    $ hg debugwalk .hg
>> -  abort: path 'mammals/.hg' is inside nested repo 'mammals'
>> +  abort: path 'mammals/.hg' is inside nested repo 'mammals' (glob)
> 
> Bah. Spotted another leftover of the glob massacre.
> 
> So, hold on for version 4 of the beans! :-)

Actually, that one is needed. But not this one:

   $ hg debugwalk 'glob:**e'
-  f  beans/turtle                    beans/turtle
-  f  mammals/Procyonidae/cacomistle  mammals/Procyonidae/cacomistle
+  f  beans/turtle                    beans/turtle (glob)
+  f  mammals/Procyonidae/cacomistle  mammals/Procyonidae/cacomistle (glob)

(Version 4 is coming...)


More information about the Mercurial-devel mailing list