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

Matthieu Moy Matthieu.Moy at imag.fr
Tue Jul 11 06:23:21 BST 2006


John Arbash Meinel <john at arbash-meinel.com> writes:

> 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

Indeed, I'd do

if [ ! -f ~/.bazaar/ignore ]; then
   bzr ignore --old-default-rules > ~/.bazaar/ignore
fi

at any time bzr wants to access this ignore file.

So the user who actually wants no default cat let an empty
~/.bazaar/ignore, but this file would be reasonable by default. It
avoids beginners complaining about their *~ and *.o beign added by
default.

Also, it might be good to have a

bzr ignore --per-user "pattern"
#    or    --global ?

-- 
Matthieu




More information about the bazaar mailing list