win32 seflftest results for bzr.0.9

John Arbash Meinel john at arbash-meinel.com
Thu Aug 10 02:05:18 BST 2006


Martin Pool wrote:
> On  2 Aug 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
>>> Most of new errors comes from code like this:
>>>
>>>     ignores._set_user_ignores(['./.bazaar'])
>>>
>>> this code create 'bazaar/2.0/' directory in working tree (because on
>>> win32 bzr use '$APPDATA/bazaar/2.0/' directory for storing their configs).
>>>
>>> -- 
>>> Alexander
>> Actually, the _set_user_ignores is so that we don't accidentally include
>> that directory in other output.
>>
>> It just needs to be updated everywhere to be:
>>
>> ignores._set_user_ignores(['./.bazaar', './bazaar'])
>>
>> The point is for it to ignore itself, so that when the directory would
>> get created later, it will be ignored.
> 
> Is this happening because $APPDATA or $HOME is set to the test
> directory?  If so we should probably just set it somewhere else.
> 

I already wrote a bunch of fixes because of my change to have
.bazaar/ignore created if it doesn't exist.

Unfortunately I forgot that .bazaar is bazaar/2.0 on Windows, so all my
fixes only the problem half of the time.

I tried not to change the tests as I was doing it, obviously I failed a
little.

For the 'ls' tests, it might be easiest if we just changed those to work
in a subdir of the regular test directory.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060809/248d4e76/attachment.pgp 


More information about the bazaar mailing list