# git-svn: --ignore-paths appears to be ignored

3 messages from 2012-05-06 to 2012-05-24. Participants: Jon Seymour, Ben Tebulin, dag@cray.com.
Thread: https://gitlist.dev/t/30451

## Jon Seymour, 2012-05-06 22:42

Subject: git-svn: --ignore-paths appears to be ignored
Message-ID: <CAH3Anrrz3OB2CofKAnRn2yR3DQRvHyQQSp6=GG-jqvYyD79b9g@mail.gmail.com>
URL: https://gitlist.dev/e/CAH3Anrrz3OB2CofKAnRn2yR3DQRvHyQQSp6%3DGG-jqvYyD79b9g%40mail.gmail.com

```
I configured ignore-paths as follows:

    svn-remote.svn.ignore-paths=^DB.*

I expected this would exclude paths of this kind on the initial fetch:

    DB/.project

but when I run git svn fetch, paths of this kind actually do get pulled.

I have also tried:

    svn-remote.svn.ignore-paths=^DB

with the same result.

I am using git version 1.7.9.264

What am I doing wrong?

jon.

```

## Ben Tebulin, 2012-05-24 11:45

Subject: Re: git-svn: --ignore-paths appears to be ignored
Message-ID: <jpl70m$r97$1@dough.gmane.org>
URL: https://gitlist.dev/e/jpl70m%24r97%241%40dough.gmane.org
In-Reply-To: <CAH3Anrrz3OB2CofKAnRn2yR3DQRvHyQQSp6=GG-jqvYyD79b9g@mail.gmail.com>

```
Am 07.05.2012 00:42, schrieb Jon Seymour:
> I configured ignore-paths as follows:
>      svn-remote.svn.ignore-paths=^DB.*
>
> I expected this would exclude paths of this kind on the initial fetch:
>      DB/.project

I have the same issue here. I'm failing to import multiple svn 
repository into Git and --ignore-paths provides me no cure.

```

## dag@cray.com, 2012-05-24 16:23

Subject: Re: git-svn: --ignore-paths appears to be ignored
Message-ID: <nngsjepwnsn.fsf@transit.us.cray.com>
URL: https://gitlist.dev/e/nngsjepwnsn.fsf%40transit.us.cray.com
In-Reply-To: <jpl70m$r97$1@dough.gmane.org>

```
Ben Tebulin <nntp.20.jexpert@spamgourmet.com> writes:

> Am 07.05.2012 00:42, schrieb Jon Seymour:
>> I configured ignore-paths as follows:
>>      svn-remote.svn.ignore-paths=^DB.*
>>
>> I expected this would exclude paths of this kind on the initial fetch:
>>      DB/.project
>
> I have the same issue here. I'm failing to import multiple svn
> repository into Git and --ignore-paths provides me no cure.

One thing to be aware of is that --ignore-paths doesn't work across svn
branches.  I tried to ignore entire branches using it and it didn't
work.  I had to resort to importing chunks of revisions at a time,
skipping the ones that created and merged branches I didn't care about.

                               -Dave

```
