Per branch ignore exclusions
John Arbash Meinel
john at arbash-meinel.com
Thu Sep 10 16:27:09 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen J. Turnbull wrote:
> John Arbash Meinel writes:
>
> > find . -name '*.a' -o -name '*.o' | xargs bzr add
> >
> > bzr add *.a */*.a */*/*.a *.o */*.o */*/*.o
> >
> > I realize these aren't exactly what you are looking for, but they
> > generally work pretty well.
>
> I agree, it's not friendly. OTOH, you only need one *nix geek to do
> this incantation once, and then it's in the repo for everybody else.
>
> I think zsh has a optional feature for recursive globbing, since we're
> on the subject.
>
>
In zsh it is:
bzr add **/*.a **/*.o
Which is a nice shortcut.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqpGs0ACgkQJdeBCYSNAAMPLQCg0xbcRi7djHbaNVO9ofPuHvmy
aeAAoIV9WU1pYHVZkYg8i3BhKErWm4eK
=GDGY
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list