bzr commands taking a filename

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 7 17:14:04 GMT 2005


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

John A Meinel wrote:
| I would be okay with saying "If you use bzr ignore, you are giving exact
| files to be ignored, not wildcard matches". (Perhaps with an option to
| change that).

Slightly differently, I would say "If you use bzr ignore, you are giving
file paths for matching, not tree-wide filenames."

So
$ cd tree-root/subdir
$ bzr ignore file1.am
is equivalent to
$ echo tree-root/file1.am >> ../.bzrignore

$ bzr ignore '*.am'
is equivalent to
$ echo 'tree-root/*.am' >> ../.bzrignore

$ bzr ignore --any 'file1.am'
is equivalent to
$ echo file1.am >> ../.bzrignore

$bzr ignore --any '*.am'
is equivalent to
$ echo '*.am' >> ../.bzrignore

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

iD8DBQFDlxhc0F+nu1YWqI0RAp2bAJ9CR79zMY544IPocX4qHTM6VwXPJgCcCKj7
FCd1S367PQafaefmhz8E274=
=f/Au
-----END PGP SIGNATURE-----




More information about the bazaar mailing list