Richard Wilbur wrote:
> John, Martin, et al:
>
> 2. Jules does a find of certain files he wants to ignore and notices that in a particular subdirectory of his branch a certain filetype appears. He types
> ``bzr ignore /absolute/path/from/find/*.filetype`` and, since it is in his branch, a branch-root-relative pattern is added to the ignore file. (Advantage: Jules can select/copy and paste the path from the find output directly into his command line without having to trim to his branch base directory.)
I'd like to propose that we not do this. I would like it to be a
branch-root-relative filename.
I think the earlier problem of ignoring multiple files is that we were
trying to make the ignore command handle both filenames and patterns.
An ignore command that just does filenames works better with unix
commandline tools than an ignore command that supports patterns. (This
is particularly true when a filename includes square brackets).
When people want to edit their patterns, it's probably easier to edit
.bzrignore than to run "bzr ignore". Or they can run "bzr ignore
- --pattern", if you prefer.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Wilbur wrote: path/from/ find/*. filetype` ` and, since it is in his branch, a branch- root-relative pattern is added to the ignore file. (Advantage: Jules can select/copy and paste the path from the find output directly into his command line without having to trim to his branch base directory.)
> John, Martin, et al:
>
> 2. Jules does a find of certain files he wants to ignore and notices that in a particular subdirectory of his branch a certain filetype appears. He types
> ``bzr ignore /absolute/
I'd like to propose that we not do this. I would like it to be a root-relative filename.
branch-
I think the earlier problem of ignoring multiple files is that we were
trying to make the ignore command handle both filenames and patterns.
An ignore command that just does filenames works better with unix
commandline tools than an ignore command that supports patterns. (This
is particularly true when a filename includes square brackets).
When people want to edit their patterns, it's probably easier to edit
.bzrignore than to run "bzr ignore". Or they can run "bzr ignore
- --pattern", if you prefer.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFFNu8x0F+ nu1YWqI0RAvYsAJ 9MpU3LogCbFLLyZ igss2LDYwjOfwCg gzLV Nn5NjZ7A=
X60NLS5ovJffCx5
=Ci1n
-----END PGP SIGNATURE-----