git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn + svn:externals
@ 2007-02-22 16:10 Brian Gernhardt
  2007-02-22 21:48 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Gernhardt @ 2007-02-22 16:10 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-svn + svn:externals
  2007-02-22 16:10 git-svn + svn:externals Brian Gernhardt
@ 2007-02-22 21:48 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2007-02-22 21:48 UTC (permalink / raw)
  To: Brian Gernhardt; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-22 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22 16:10 git-svn + svn:externals Brian Gernhardt
2007-02-22 21:48 ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).