[merge] global (per user) ignores and other cleanups

John Arbash Meinel john at arbash-meinel.com
Mon Jul 10 17:53:17 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> On  7 Jul 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> Attached is a bundle which implements a global ignore file in
>> ~/.bazaar/ignore
> 
> Just two thing: please add a NEWS entry so people can see
> what changed, and please add at least a stub to the documentation
> describing that the file exists.

I had actually already added a NEWS entry, but it was posted in a later
patch. Can you comment on 'bzr setup-default-ignores'?

It is slightly redundant with:
bzr ignore --old-default-rules > ~/.bazaar/ignore

But it is much easier to use on win32, where ~/.bazaar is a really ugly
path.


>> The other possibility would be that if ~/.bazaar/ignore *doesn't* exist,
>> it uses the builtin list of default ignores. Which is more of a
>> compatible upgrade path than our current system.
> 
> Well, I think we would want that list to be more conservative than what
> we have at the moment, both to avoid surprising people and to help with
> performance.
> 
> So I'll give a +1, the patch looks good as written.  If other people
> have concerns about adding the feature we can talk about it some more
> but I think it's basically reasonable.

Attached is the update to tutorial.txt.

I also have this NEWS entry if we don't want setup-default-ignores:
* Per-user global ignores can now be set in ~/.bazaar/ignore. This list
  of ignores will be applied to every tree.
  (John Arbash Meinel)

Or this one if we *do* want it:
* Per-user global ignores can now be set in ~/.bazaar/ignore. This list
  of ignores will be applied to every tree. To restore bzr 0.8 behavior
  run 'bzr setup-default-ignores' to populate ~/.bazaar/ignore with the
  0.8 ignore rules.  (John Arbash Meinel)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsoX9JdeBCYSNAAMRArY7AJ9zbSRXRdBDwxcOccOrW+9Htq8qLwCfeV3Z
Cx7Y65PYPtScYHD5JM5jMz4=
=kTIJ
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ignore-docs.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060710/ae1c9478/attachment.diff 


More information about the bazaar mailing list