Windows version Auto-Ignores exe files. Why?

Alexander Belchenko bialix at ukr.net
Wed May 17 06:05:02 BST 2006


John Arbash Meinel пишет:
> Mark wrote:
>> On 5/12/06, *Wouter van Heyst* <larstiq at larstiq.dyndns.org
>>     .exe is in the default ignore list since they are usually generated
>>     files that only clutter your bzr status output. You can add any file
>>     that matches an ignore pattern and that will take precedence over the
>>     ignore. Actually being able to edit the default ignores is something
>>     that we want, see the recent thread 'discussing ignore rules'.
>>
>>     I'm afraid that is not yet possible, short from hacking up
>>     bzrlib/__init__.py :/
>>  
>> Yes, thanks for this information, it helps quite a bit.  Unfortunately
>> it also means that bzr is not usable for me right now, as I need to
>> store quit a few binaries in revision control and I don't want to take
>> the risk that one of them might be missed due to an auto-ignore by bazaar.
>>  
>> Thanks for the information though
>> -mark
> 
> Well, for your copy of bzr you could just edit bzrlib/__init__.py and
> remove line 29:
> '*.exe'.
> 
> I realize you are probably on windows, and thus might be using the
> 'compiled' bzr.exe, so you would have to ask Alexander to re-create one
> for you with the change.

I wonder is this change could be done via special plugin that modify 
DEFAULT_IGNORE list in-place? If yes then I'm willing to write this 
plugin very quickly.

--
Alexander





More information about the bazaar mailing list