All of lore.kernel.org
 help / color / mirror / Atom feed
From: joel reed <joelwreed@gmail.com>
To: git@vger.kernel.org
Subject: merging two repositories
Date: Wed, 06 Jun 2007 10:56:49 -0400	[thread overview]
Message-ID: <4666CB31.9070007@gmail.com> (raw)

I've been maintaining a project in git for a while and making use of 
http://repo.or.cz/w/tfs.git as a public repository. Since I also needed 
a project site, I set something up at Google Code, which of course, 
forces you to use subversion.

I added the files to subversion, checked them in, then a few weeks later 
decided I should learn how to use git-svn. So now I have two trees, one 
pure git using repo.or.cz, and the other made by git-svn against Google' 
subversion.

Is there anyway to merge these two repositories into one? I don't want 
to lose the http://repo.or.cz/w/tfs.git history, but I don't care about 
the Google subversion history.

I tried moving the .git/svn folder from the git-svn managed repository 
into the repo.or.cz .git folder, but as I expected, that didn't work. 
Life's never that easy! Anyway, if anyone knows how to merge these two 
repos, I would love to hear about it.

jr

PS. Maybe, a more generalized use case here is
  a) maintain a git tree for a while
  b) decide you have to stick code in subversion for others sometime 
later, but you still want to use git and keep your git history

             reply	other threads:[~2007-06-06 14:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 14:56 joel reed [this message]
2007-06-06 18:01 ` merging two repositories Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4666CB31.9070007@gmail.com \
    --to=joelwreed@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.