git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn: --ignore-paths appears to be ignored
@ 2012-05-06 22:42 Jon Seymour
  2012-05-24 11:45 ` Ben Tebulin
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Seymour @ 2012-05-06 22:42 UTC (permalink / raw)
  To: Git Mailing List

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn: --ignore-paths appears to be ignored
  2012-05-06 22:42 git-svn: --ignore-paths appears to be ignored Jon Seymour
@ 2012-05-24 11:45 ` Ben Tebulin
  2012-05-24 16:23   ` dag
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Tebulin @ 2012-05-24 11:45 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn: --ignore-paths appears to be ignored
  2012-05-24 11:45 ` Ben Tebulin
@ 2012-05-24 16:23   ` dag
  0 siblings, 0 replies; 3+ messages in thread
From: dag @ 2012-05-24 16:23 UTC (permalink / raw)
  To: Ben Tebulin; +Cc: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-24 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-06 22:42 git-svn: --ignore-paths appears to be ignored Jon Seymour
2012-05-24 11:45 ` Ben Tebulin
2012-05-24 16:23   ` dag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).