* Multiple SVN Repos Inside A Git Repo
@ 2008-12-02 20:22 Tim Sally
2008-12-03 13:57 ` Michael J Gruber
0 siblings, 1 reply; 2+ messages in thread
From: Tim Sally @ 2008-12-02 20:22 UTC (permalink / raw)
To: git
Using git-svn, it is possible to have different parts of a git repo
correspond to a specific svn repo? From my understanding after reading
the documentation, you need one git repository per svn. My example is
that I'm trying to set up a git repo to version control everything
from my classes, but each class has a separate svn repo. Also, the
number of git repos I can create is limited, and I'd rather not
clutter everything up with many separate git-svn repos.
Example structure:
class/
.......... systems/
.......... algorithms/
.......... physics/
class is one central git repository, and systems, algorithms, and
physics contain data from three svn repositories. Ideally, you could
commit/update to/from each svn repo individually, or all at once.
Tim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Multiple SVN Repos Inside A Git Repo
2008-12-02 20:22 Multiple SVN Repos Inside A Git Repo Tim Sally
@ 2008-12-03 13:57 ` Michael J Gruber
0 siblings, 0 replies; 2+ messages in thread
From: Michael J Gruber @ 2008-12-03 13:57 UTC (permalink / raw)
To: Tim Sally; +Cc: git
Tim Sally venit, vidit, dixit 02.12.2008 21:22:
> Using git-svn, it is possible to have different parts of a git repo
> correspond to a specific svn repo? From my understanding after reading
> the documentation, you need one git repository per svn. My example is
> that I'm trying to set up a git repo to version control everything
> from my classes, but each class has a separate svn repo. Also, the
> number of git repos I can create is limited, and I'd rather not
> clutter everything up with many separate git-svn repos.
>
> Example structure:
>
> class/
> .......... systems/
> .......... algorithms/
> .......... physics/
>
> class is one central git repository, and systems, algorithms, and
> physics contain data from three svn repositories. Ideally, you could
> commit/update to/from each svn repo individually, or all at once.
>
> Tim
You can have as many git svn configurations in a single git repo as you
want (see the "-R" argument to git svn). They will all correspond to
different remote branches. By checking out the branches (or a
corresponding tracking branch) you can switch between the branches, i.e.
between classes.
I don't think a layout as above is possible given your requirements that
- you (basically) want a single git repo and
- you want to be able to commit back.
They exclude using submodules resp. subtree merge.
Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-03 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02 20:22 Multiple SVN Repos Inside A Git Repo Tim Sally
2008-12-03 13:57 ` Michael J Gruber
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).