threads / discuss / 30451

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

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

## tl;dr

3 messages between May 6, 2012 and May 24, 2012.

replies: 2people: 3as markdown or json

Jon Seymour· May 6, 2012, 22:42 UTC · lore
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· May 24, 2012, 11:45 UTC · re: Jon Seymour · lore

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

Am 07.05.2012 00:42, schrieb Jon Seymour:
Show 5 quoted lines
> 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· May 24, 2012, 16:23 UTC · re: Ben Tebulin · lore

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

Ben Tebulin <nntp.20.jexpert@spamgourmet.com> writes:
Show 9 quoted lines
> 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

← back to recent threads