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

Re: git-svn not working when parent of cloned dir requires auth

From
D. Stuart Freeman <stuart.freeman@et.gatech.edu>
Date
Dec 8, 2008, 22:07 UTC
Message-ID
<20081208220749.GB16418@cetel-004-xx6.admin.gatech.edu>
In-Reply-To
<7v4p1e73tt.fsf@gitster.siamese.dyndns.org>
In looking at the source of git-svn, I see:
' # there are currently some bugs that prevent multi-init/multi-fetch
  # setups from working well without this.
  $Git::SVN::_minimize_url = 1;'

I tried setting it to '0' and rerunning my clone. It no longer prompted for a password, but it still failed to clone anything.

On Mon, Dec 08, 2008 at 01:30:06PM -0800, Junio C Hamano wrote:
Show 18 quoted lines
> "D. Stuart Freeman" <stuart.freeman@et.gatech.edu> writes:
> 
> > I'm trying to
> > 'git svn clone https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt -s'
> > that repo is setup to allow anonymous reading of that directory tree, but
> > git-svn prompts me for a password.  I think git-svn is traversing up the
> > directory tree and encountering a directory that needs authn, can I prevent
> > it from doing that?
> 
> That sounds suspiciously similar to what I observed long time ago:
> 
>   http://thread.gmane.org/gmane.comp.version-control.git/46361/focus=46558
> 
> And $gmane/47151 in the thread, aka dc43166 (git-svn: don't minimize-url
> when doing an init that tracks multiple paths, 2007-05-19), supposed to
> have fixed it.
> 
> Hmm...  Eric?
-- 
D. Stuart Freeman
Georgia Institute of Technology
Previous: Junio C HamanoNext: Eric Wong
Message 3 of 4 in “git-svn not working when parent of cloned dir requires auth”
  1. D. Stuart FreemanDec 8, 2008
  2. Junio C HamanoDec 8, 2008
  3. D. Stuart FreemanDec 8, 2008
  4. Eric WongDec 8, 2008

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.