new failure on windows for test-shelve.t by 022431336f72

Mads Kiilerich mads at kiilerich.com
Mon Feb 10 13:04:00 CST 2014


On 02/10/2014 05:20 PM, Simon Heimberg wrote:
> On 2014-02-10 09:51, Simon Heimberg wrote:
>> The extension of test-shelve.t in 022431336f72 [1] has broken the test
>> on windows.
>>
>> Failure (from [2]):
>> ---
>> c:\Users\buildbot\w2k8\Windows_2008_R2_hg_tests\build\tests\test-shelve.t 
>>
>> +++
>> c:\Users\buildbot\w2k8\Windows_2008_R2_hg_tests\build\tests\test-shelve.t.err 
>>
>>
>> @@ -566,8 +566,8 @@
>>    shelved as default
>>    0 files updated, 0 files merged, 1 files removed, 0 files unresolved
>>    $ hg log -G --template '{rev}  {desc|firstline}  {author}' -R
>> bundle:.hg/shelved/default.hg -r 'bundle()'
>> -  o  4  changes to 'commit stuff'  shelve at localhost
>> -  |
>> +  abort: repository bundle;.hg\shelved\default.hg not found!
>                              ^
> There is ";" instead of ":", probably done by mingw. Does anybody know 
> how to fix this?

That is msys/mingw that finds that it looks like a unix style search 
path that it has to convert to windows style:

$ python -c 'import sys; print sys.argv[1:]' -R bundle:foo/bar
['-R', 'bundle:foo/bar']

$ python -c 'import sys; print sys.argv[1:]' -R bundle:.foo/bar
['-R', 'bundle;.foo\\bar']

Either of the workarounds demonstrated here should work:

$ python -c 'import sys; print sys.argv[1:]' -R bundle://.foo/bar
['-R', 'bundle://.foo/bar']

$ python -c 'import sys; print sys.argv[1:]' -Rbundle:.foo/bar
['-Rbundle:.foo/bar']

I don't have a working windows test environment right now - can you 
verify that it works?

/Mads



More information about the Mercurial-devel mailing list