Ignore/include

potsed potsed at gmail.com
Tue Feb 10 00:22:46 GMT 2009


Hi,

Thanks for all the input.  To answer that question Ben:


Ben Finney-2 wrote:
> 
>> Is it perhaps not easy to predict what the documentation app will
>> spit out?
> 
> That, in combination with the fact that an ignore patter that matches
> ‘foo’ will be overridden by ‘bzr add foo’, indicates a better solution
> AFAICT.
> 

This is not really a solution the output is a selection of _[classnames] 
plus in a simple app there are aprox 100 files in various dirs which are
completely 
ignored because of the rule, so to add each automatically generated new file
each time
it is run is not really a great solution.

simply put i think it would be a great feature to have in .bzrignore:
[pattern] except [exception]

which would ignore all files matching [pattern] except those who 
match the [exception]

The process is the same as adding all the files, but without having to add
them
all individually which is what AFAIK has to happen currently.

if i am wrong and there is a way to add all ignored files in a specific dir
in a single command
then that is great, please let me know how.

Of course i can change some of my habits and instead of using '_' to ignore
use
something else, but whatever i use has the ability to cause the same issue
at some
point in time, which is why i am suggesting an alternative.

I will be able to mess with the regex today sometime, i will see if that 
works. but i do think that allowing for exceptions to ignore rules is quite 
a good feature to have.

Thanks for the responses.



-- 
View this message in context: http://www.nabble.com/Ignore-include-tp21721567p21925202.html
Sent from the Bazaar - General Discussion mailing list archive at Nabble.com.




More information about the bazaar mailing list