git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniele Segato <daniele.bilug@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: how to skip branches on git svn clone/fetch when there are errors
Date: Mon, 31 Aug 2009 10:26:36 +0200	[thread overview]
Message-ID: <9accb4400908310126v15b08c7fr425c9daff26012f3@mail.gmail.com> (raw)

Hi,

I'm trying to clone a big repository.

I follow this steps:

git init
git svn init svn://svn.mydomain.com/path/to/repo -T HEAD -b BRANCHES -t TAGS

vim .git/config # edited the svn-remote config as follow (add /root to
branches and tag) to match the repo structure
[svn-remote "svn"]
       url = svn://svn.mydomain.com
       fetch = path/to/repo/HEAD/root:refs/remotes/svn/trunk
       branches = path/to/repo/BRANCHES/*/root:refs/remotes/svn/*
       tags = path/to/repo/TAGS/*/root:refs/remotes/svn/tags/*

git svn fetch

When I reach revision ~7500 (I don't remember the exact number) I get an error:

$ git svn fetch
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/SVN/Core.pm line 584.
Authorization failed:  at /usr/bin/git-svn line 1415


After some debugging I found out the reason is something strange on
the SVN server: there is a folder in the SVN that give an error when
trying to access:

$ svn info svn://svn.mydomain.com/path/to/repo/BRANCHES/V2.1-A
svn: Authorization failed

The same error with svn list.

I don't know what's wrong with that branch but I just want to skip it...

I tried modifying the .git/config svn-remote configuration adding this:

ignore-paths = path\\/to\\/repo\\/BRANCHES\\/V2\\.1-A

and re-launching git svn fetch.

I had no luck.

Ho do I skip a path on the svn repository?

(I can't provide the real svn repo because it is password protected
and I can't give you the access)

Thanks,
Regards,
Daniele

             reply	other threads:[~2009-08-31  8:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31  8:26 Daniele Segato [this message]
2009-09-05  6:16 ` how to skip branches on git svn clone/fetch when there are errors Eric Wong
2009-09-05  8:55   ` Daniele Segato
2009-09-06  1:48     ` Eric Wong
2009-09-07  9:30 ` Daniele Segato
2009-09-07 13:34   ` Daniele Segato
2009-09-07 13:53     ` Daniele Segato
2009-09-07 15:53     ` Paolo Ciarrocchi
2009-09-07 17:55       ` Daniele Segato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9accb4400908310126v15b08c7fr425c9daff26012f3@mail.gmail.com \
    --to=daniele.bilug@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).