How to ignore directory of specied name not important where located (level)??

Asked by Libor Jelinek

Hello dear Bazaar community!
please how to ignore directory of specied name not important where located (level)?

I have project and many subprojects directories. Every of them contains build and private directories which I don't want to version.

This content of .bzrignore:

build
private

will match also to files named build or private. If I will append / it's treated as absolute path from branch top level directory....

How to achive this?

Thanks a lot!

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

AFAIK there isnt a way to match only dirs and not files. However "build"
only matches files/dirs named exactly "build", not things like build.cpp

=:->
On Jun 14, 2011 5:16 PM, "Libor Jelinek" <
<email address hidden>> wrote:
> New question #161402 on Bazaar:
> https://answers.launchpad.net/bzr/+question/161402
>
> Hello dear Bazaar community!
> please how to ignore directory of specied name not important where located
(level)?
>
> I have project and many subprojects directories. Every of them contains
build and private directories which I don't want to version.
>
> This content of .bzrignore:
>
> build
> private
>
> will match also to files named build or private. If I will append / it's
treated as absolute path from branch top level directory....
>
> How to achive this?
>
> Thanks a lot!
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.

Can you help with this problem?

Provide an answer of your own, or ask Libor Jelinek for more information if necessary.

To post a message you must log in.