From: Eric Wong Date: Fri, 20 Nov 2009 20:47:23 GMT Subject: Re: git-svn of both trunk and tags while having no access to the 'parent' of those Message-ID: <20091120204723.GB30423@dcvr.yhbt.net> In-Reply-To: <20091119095307.GA30423@dcvr.yhbt.net> Eric Wong wrote: > Michael J Gruber wrote: > > 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/* Hi Yaroslav, Weird, I'm a bit confused by this myself but I'm out of time at the moment, but swapping '[svn-remote "svn"]' and "[svn-remote "svnr"]" seems to work, so there's apparently a bug in our handling of svn-remote != "svn" somewhere... So the following config should work: [svn-remote "svnt"] url = http://domain.com:/project/trunk fetch = :refs/remotes/trunk [svn-remote "svn"] url = http://domain.com:/project/releases tags = /*:refs/remotes/tags/* You should probably run "git svn fetch -R svnt" before running "git svn fetch" to pick up the tagged releases. -- Eric Wong