Comment 1 for bug 355891

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 355891] [NEW] bzr ignore --unknown could ignore all untracked files

On Sun, 2009-04-05 at 22:50 +0000, Daniel Clemente wrote:
>
>
> Since ignoring the unknown files is a common operation, a new option
> --unknown to the command „ignore“ could do this automatically. Then
> you could just run „bzr ignore --unknown“ and it would write
> in .bzrignore each file which was listed under „unknown“ in „bzr
> status“.
>
> Otherwise you must add each file by hand (with copy+paste) or find
> patterns that match all files seen in „bzr status“.

bzr ignore $(bzr unknowns) should do this for you. Adding an option to
do it would make this more discoverable and accessible on non-unix
platforms.

-Rob