default ignores don't ignore '.swp'

John Arbash Meinel john at arbash-meinel.com
Mon Jan 9 14:37:25 GMT 2006


Aaron Bentley wrote:
> Jan Hudec wrote:
> 
>>>Well, the bug claims it is 'painful' for projects that need files that
>>>are ignored by default. Which I'd see as the actual problem. Perhaps
>>>this kind of files should not be ignored in built-in defaults, but
>>>rather in defaults generated to .bzrignore during init. That would be
>>>easy for the user to override (even what about configurable template?)
> 
> 
> It's very easy to override the defaults, and after you've done it once,
> you can just copy the file from another project.  I agree that having
> configurable templates, or even per-user defaults would be nice.
> 
> (Say, didn't you contribute the customizable init-tree to aba? :-)
> 
> Aaron

Really. Having .bzrignore doesn't override the defaults as far as I can
tell. It just adds to them.

Here is a simple example:
$ mkdir a
$ cd a/
$ bzr init
$ touch foo.pyc
$ touch xxx
$ bzr st
unknown:
  xxx
$ echo xxx > .bzrignore
$ bzr st
unknown:
  .bzrignore

Basically, .bzrignore is things you want to ignore *on top of* what bzr
defaults to ignoring.
Which is why Makefile.in should not be in the default ignores. You can
easily type 'bzr ignore Makefile.in' if they are autogenerated, but you
can't get rid of a default ignore.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060109/37a21e37/attachment.pgp 


More information about the bazaar mailing list