Blacklisting in views

Asked by Javier Collado on 2009-09-23

Hello,

I have a branch in which I made some changes to a configuration file that are intended to be used only locally so I don't want those changes to be committed or pushed. I think that using 'bzr view' to forget about the changes in that file would be nice. However, it seems that 'bzr view' only allows whitelisting, while in this case I would be interested in blacklisting.

I guess that the solution would be to whitelist all the files except the one that I'd like to be excluded, but I wanted to ask just to make sure that there isn't any other better solution. Thanks.

Best regards,
    Javier

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
2009-09-27
Last query:
2009-09-27
Last reply:
2009-09-23

This question was reopened

Best Martin Pool (mbp) said : #1

2009/9/23 Javier Collado <email address hidden>:
> New question #83600 on Bazaar:
> https://answers.launchpad.net/bzr/+question/83600
>
> Hello,
>
> I have a branch in which I made some changes to a configuration file that are intended to be used only locally so I don't want those changes to be committed or pushed. I think that using 'bzr view' to forget about the changes in that file would be nice. However, it seems that 'bzr view' only allows whitelisting, while in this case I would be interested in blacklisting.
>
> I guess that the solution would be to whitelist all the files except the one that I'd like to be excluded, but I wanted to ask just to make sure that there isn't any other better solution. Thanks.

This is commonly requested and we'd like to support it in future.

--
Martin <http://launchpad.net/~mbp/>

Thanks Martin Pool, that solved my question.