Windows version Auto-Ignores exe files. Why?
John Arbash Meinel
john at arbash-meinel.com
Wed May 17 02:08:35 BST 2006
Mark wrote:
> On 5/12/06, *Wouter van Heyst* <larstiq at larstiq.dyndns.org
> <mailto:larstiq at larstiq.dyndns.org>> wrote:
>
> On Fri, May 12, 2006 at 08:40:59AM -0400, Mark wrote:
> > I am looking at bzr on windows and I ran into a bit of a snag. It
> would
> > appear that it automaticly ignores files matching the pattern
> *.exe. Why?
> > In my case I have a number of exe files that I WANT to be under
> revision
> > control and while I realize that I can go back and add them
> manually it just
> > seems wrong from a user perspective.
> >
> > Are these configurable someplace in a configuration file? I
> looked at the
> > tutorial and the documentation but I don't see any reference to
> this. Just
> > to the .bzrignore file, which in my case does NOT have *.exe as an
> ignore
> > pattern.
>
> .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.
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/20060516/c0e5a3bb/attachment.pgp
More information about the bazaar
mailing list