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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> wrote:
> "D. Stuart Freeman" <stuart.freeman@xxxxxxxxxxxxx> 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.

There are some other auth issues that I'm not sure ever got resolved.
The SVN path->branch mapping code is a mess and has needed a rework for
a while...  And I've gotten sick again this weekend.  Tis the season...

Stuart:

For now, running the old style one-connection per-remote config
may be the easiest way to go:

------------ in your .git/config: ---------
[svn-remote "svn"]
        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/trunk
        fetch = :refs/remotes/trunk
[svn-remote "bloatedGxtAndVanilla"]
        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/branches/bloatedGxtAndVanilla
        fetch = :refs/remotes/bloatedGxtAndVanilla
[svn-remote "pre-GXT"]
        url = https://mware.ucdavis.edu/svn/ucd-sakai/gradebook-gwt/branches/pre-GXT
        fetch = :refs/remotes/pre-GXT
-------------------------------------------

Then run "git-svn fetch -i $SVN_REMOTE" for each svn-remote

-- 
Eric Wong
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux