git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn + svn:externals

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 22, 2007, 21:48 UTC
Message-ID
<20070222214854.GA32195@localdomain>
In-Reply-To
<51167308-9E52-4E46-80A0-70A3C255C081@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> wrote:
Show 9 quoted lines
> 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
Previous: Brian Gernhardt
Message 2 of 2 in “git-svn + svn:externals”
  1. Brian GernhardtFeb 22, 2007
  2. Eric WongFeb 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.