git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn clone failing

From
EWEric Wong <normalperson@yhbt.net>
Date
Jun 28, 2011, 04:28 UTC
Message-ID
<20110628042831.GA29202@dcvr.yhbt.net>
In-Reply-To
<BANLkTimoDBr+ikZ4XoW1y=1=_JNOtp_jfg@mail.gmail.com>
Vampire <Vampire@Masters-of-Disaster.de> wrote:
> Hm, actually I found a workaround.
> If I use https instead of http, it works fine.
> But I think it should also work with http.
This could be a server configuration issue.... More below.
Show 9 quoted lines
> 2011/6/2 Vampire <Vampire@masters-of-disaster.de>:
> > It seems to me that this happens while git-svn is searching for history.
> > As far as I have understood git-svn searches hierarchical higher paths
> > for history in other places than specified.
> > I guess while trying to access all those paths some path is tried that
> > returns 403 Forbidden.
> > My assumption is that git-svn takes this as cause to abort instead of
> > ignoring this return state what would be appropriate in this case I
> > think.

git svn should be able to avoid following old history with the --no-follow-parent option. There's also the --ignore-paths option which can ignore newer history, too. I've rarely used either (and rarely use git-svn nowadays), but one of them should work in case neither http nor https work

-- 
Eric Wong
Previous: Vampire
Message 10 of 10 in “git svn clone failing”
  1. VampireFeb 14, 2011
  2. Drew NorthupFeb 18, 2011
  3. VampireFeb 18, 2011
  4. Drew NorthupFeb 24, 2011
  5. VampireFeb 25, 2011
  6. VampireApr 3, 2011
  7. Drew NorthupJun 2, 2011
  8. VampireJun 2, 2011
  9. VampireJun 2, 2011
  10. Eric WongJun 28, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.