From: Eric Wong Date: Thu, 22 Feb 2007 21:48:54 GMT Subject: Re: git-svn + svn:externals Message-ID: <20070222214854.GA32195@localdomain> In-Reply-To: <51167308-9E52-4E46-80A0-70A3C255C081@silverinsanity.com> Brian Gernhardt wrote: > Is there any plan or shell incantation to get git-svn working nicely > with SVN externals? I'm working a Ruby on Rails application > (radiantcms.org), which uses the externals to track library > versions. I don't mind reading from an SVN repository, but would > much much rather use git to track my local changes. > > Also, is it possible for git-svn to at least warn when the repo > you're importing has externals? It would be nicer than randomly > having hunks of the project missing. The latest versions of git-svn should warn about externals (among some other things that we currently don't support). They are logged in .git/svn/$refname/unhandled.log with newlines (and some other characters) URI-encoded out. I've been planning on having something parse the unhandled.log but have not gotten around to it. I'm still waiting on subproject support in git to seriously look at svn:externals; but it's not a high priority for me. You could probably look at the code that does 'git svn show-ignore' which reads the svn:ignore properties and expand it to support svn:externals. -- Eric Wong