git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* managing git submodules with git-svn
@ 2008-08-20  9:35 Rick Moynihan
  2008-08-20 12:49 ` Andreas Ericsson
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Moynihan @ 2008-08-20  9:35 UTC (permalink / raw)
  To: git

Hi all,

We are currently using a mixture of git and svn to manage a project with 
an array of subprojects.  We use git primarily for its excellent 
branching and merging support, and as a means of more effectively 
managing commits etc...  We're not yet ready to make the leap entirely 
to git and find subversion still has a role, primarily due to some 3rd 
party upstream (e.g. Apache) projects using svn.  SVN is also better 
supported by some of our tools/systems.

Our project is made up of a number of subprojects, and I'd like to use 
git submodules to easily track and lock changes in component versions. 
git submodules appear to do exactly this, versioning the meta-repo with 
each subproject locked at a specific commit/SHA-1.

My question is; is there anyway to easily do this but have git use 
git-svn manage the submodule?  I think this makes sense and suspect it 
would be possible to do, though it looks like it's currently not a 
feature.  Is this a feature anyone else would find useful?


Thanks again,

R.

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

* Re: managing git submodules with git-svn
  2008-08-20  9:35 managing git submodules with git-svn Rick Moynihan
@ 2008-08-20 12:49 ` Andreas Ericsson
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ericsson @ 2008-08-20 12:49 UTC (permalink / raw)
  To: Rick Moynihan; +Cc: git

Rick Moynihan wrote:
> Hi all,
> 
> We are currently using a mixture of git and svn to manage a project with 
> an array of subprojects.  We use git primarily for its excellent 
> branching and merging support, and as a means of more effectively 
> managing commits etc...  We're not yet ready to make the leap entirely 
> to git and find subversion still has a role, primarily due to some 3rd 
> party upstream (e.g. Apache) projects using svn.  SVN is also better 
> supported by some of our tools/systems.
> 
> Our project is made up of a number of subprojects, and I'd like to use 
> git submodules to easily track and lock changes in component versions. 
> git submodules appear to do exactly this, versioning the meta-repo with 
> each subproject locked at a specific commit/SHA-1.
> 
> My question is; is there anyway to easily do this but have git use 
> git-svn manage the submodule?  I think this makes sense and suspect it 
> would be possible to do, though it looks like it's currently not a 
> feature.  Is this a feature anyone else would find useful?
> 

Off the top of my head, just point your submodule to the incremental
git-svn import of the upstream repository and you're good to go.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

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

end of thread, other threads:[~2008-08-20 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-20  9:35 managing git submodules with git-svn Rick Moynihan
2008-08-20 12:49 ` Andreas Ericsson

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