# git-svn + svn:externals

2 messages from 2007-02-22 to 2007-02-22. Participants: Brian Gernhardt, Eric Wong.
Thread: https://gitlist.dev/t/6914

## Brian Gernhardt, 2007-02-22 16:10

Subject: git-svn + svn:externals
Message-ID: <51167308-9E52-4E46-80A0-70A3C255C081@silverinsanity.com>
URL: https://gitlist.dev/e/51167308-9E52-4E46-80A0-70A3C255C081%40silverinsanity.com

```
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.

~~ Brian

```

## Eric Wong, 2007-02-22 21:48

Subject: Re: git-svn + svn:externals
Message-ID: <20070222214854.GA32195@localdomain>
URL: https://gitlist.dev/e/20070222214854.GA32195%40localdomain
In-Reply-To: <51167308-9E52-4E46-80A0-70A3C255C081@silverinsanity.com>

```
Brian Gernhardt <benji@silverinsanity.com> 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

```
