git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Merge git repositories
@ 2008-02-20 16:59 H.Merijn Brand
  2008-02-21 13:34 ` Jerome Lovy
  0 siblings, 1 reply; 3+ messages in thread
From: H.Merijn Brand @ 2008-02-20 16:59 UTC (permalink / raw)
  To: git

I have a whole bunch of git repositories that are conversions from SCCS.
SCCS is a VCS that only deals with a single directory, and cannot cope
with directory hierarchies.

At first the move was received very positive, but now that people see
the strengths of a `real' VCS, it would be way more logical to combine
all the git repos that make up a single project into a single large repo
that includes all directories

SCCS

      .../top  /SCCS
               /foo    /SCCS
               /bar    /SCCS
                       /baz   /SCCS

=>
git

      .../top  /.git
               /foo    /.git
               /bar    /.git
                       /baz   /.git

=> ?

git

      .../top  /.git
               /foo
               /bar    /baz

is it possible to merge git repos from sub-folders into the current repo?


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

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

* Re: Merge git repositories
  2008-02-20 16:59 Merge git repositories H.Merijn Brand
@ 2008-02-21 13:34 ` Jerome Lovy
  2008-02-21 13:58   ` H.Merijn Brand
  0 siblings, 1 reply; 3+ messages in thread
From: Jerome Lovy @ 2008-02-21 13:34 UTC (permalink / raw)
  To: git; +Cc: git

Hello,

On 02/20/2008 05:59 PM, H.Merijn Brand wrote:
> I have a whole bunch of git repositories that are conversions from SCCS.
> SCCS is a VCS that only deals with a single directory, and cannot cope
> with directory hierarchies.
[SNIP]

> is it possible to merge git repos from sub-folders into the current repo?

Doesn't maybe the subtree merge strategy help ?
See 
http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html

My 2 cents
Jérôme

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

* Re: Merge git repositories
  2008-02-21 13:34 ` Jerome Lovy
@ 2008-02-21 13:58   ` H.Merijn Brand
  0 siblings, 0 replies; 3+ messages in thread
From: H.Merijn Brand @ 2008-02-21 13:58 UTC (permalink / raw)
  To: t2a2e9z8ncbs9qg; +Cc: git

On Thu, 21 Feb 2008 14:34:36 +0100, Jerome Lovy
<t2a2e9z8ncbs9qg@brefemail.com> wrote:

> Hello,
> 
> On 02/20/2008 05:59 PM, H.Merijn Brand wrote:
> > I have a whole bunch of git repositories that are conversions from SCCS.
> > SCCS is a VCS that only deals with a single directory, and cannot cope
> > with directory hierarchies.
> [SNIP]
> 
> > is it possible to merge git repos from sub-folders into the current repo?
> 
> Doesn't maybe the subtree merge strategy help ?
> See 
> http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html

Does seem to fit the need.

> My 2 cents

Probably worth much more! Thanks.

> Jérôme

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

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

end of thread, other threads:[~2008-02-21 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 16:59 Merge git repositories H.Merijn Brand
2008-02-21 13:34 ` Jerome Lovy
2008-02-21 13:58   ` H.Merijn Brand

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