FEATURE REQ: make bzr ignore accept multiple arguments

Jari Aalto jari.aalto at cante.net
Wed Sep 14 18:59:50 BST 2005


Rob Browning <rlb at defaultvalue.org> writes:

| jblack at merconline.com (James Blackwell) writes:
| I suspect that this problem might be solved by experience.  i.e. most
| of the time you would see:
| 
|   $ bzr ignore *.tmp *~
|   Ignore pattern added: *.tmp
|   Ignore pattern added: *~
| 
| So I suspect it would stand out when you saw something like this:
| 
|   $ bzr ignore *.tmp *~
|   Ignore pattern added: a.tmp
|   Ignore pattern added: README~
|   Ignore pattern added: NEWS~
| 
| which didn't match what you just typed.
| Of course it's hard to know for sure either way.

The user who typed the command will notice the error. I would just
stick to the message:

    Ignore pattern added: ...

And let the user learn a big lesson if he forgot the quotes. He won't repeat 
the same error next time. It's easy enough to undo the damage by hand
cleaning the ./.bzrignore.

Jari





More information about the bazaar mailing list