Re: git-svn of both trunk and tags while having no access to the 'parent' of those

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael J Gruber
Date: Wednesday, November 18, 2009 - 8:07 am

Yaroslav Halchenko venit, vidit, dixit 18.11.2009 15:23:

OK, so the way it's implemented --no-minimize-url might be half as
useful as it could be. One last try (before asking Eric...) would be

git svn clone --no-minimize-url --prefix=upstream-svn/ -T
http://domain.com/svnrepo/trunk -t http://domain.com/svnrepo/releases
http://domain.com/svnrepo/trunk svnrepo.gitsvn

because that involves accessible URLs only and trunk and branch URLs are
absolute.

[Meanwhile I git the actual URL PMed by Yaroslov.]

So, what happens with the above is that git-svn tries to set the URL
config again from the URL part of an absolute tags argument. I don't
know how absolute URLs (which are documented) for tags etc. could
possibly work if git-svn tries to do that. Eric?

I tried also with two svn sections to circumvent this:

[svn-remote "svn"]
        url = http://domain.com:/project/trunk
        fetch = :refs/remotes/trunk
[svn-remote "svnr"]
        url = http://domain.com:/project/releases
        tags = /*:refs/remotes/tags/*

Fetching -Rsvn works fine, but fetching -Rsvnr gives the same
authentication problems. And fetch does not accept --no-minimize-url as
an option. OTOH: If the option is not used it seems to me (from the
source) that not minimizing is the default, which leaves me really
stomped. Eric?? ;)

Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn of both trunk and tags while having no access to t ..., Yaroslav Halchenko, (Mon Nov 16, 7:59 pm)
Re: git-svn of both trunk and tags while having no access ..., Michael J Gruber, (Wed Nov 18, 2:01 am)
Re: git-svn of both trunk and tags while having no access ..., Yaroslav Halchenko, (Wed Nov 18, 6:32 am)
Re: git-svn of both trunk and tags while having no access ..., Michael J Gruber, (Wed Nov 18, 6:56 am)
Re: git-svn of both trunk and tags while having no access ..., Yaroslav Halchenko, (Wed Nov 18, 7:23 am)
Re: git-svn of both trunk and tags while having no access ..., Michael J Gruber, (Wed Nov 18, 8:07 am)