* merging two repositories
@ 2007-06-06 14:56 joel reed
2007-06-06 18:01 ` Johannes Schindelin
0 siblings, 1 reply; 2+ messages in thread
From: joel reed @ 2007-06-06 14:56 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: merging two repositories
2007-06-06 14:56 merging two repositories joel reed
@ 2007-06-06 18:01 ` Johannes Schindelin
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2007-06-06 18:01 UTC (permalink / raw)
To: joel reed; +Cc: git
Hi,
On Wed, 6 Jun 2007, joel reed wrote:
> So now I have two trees, one pure git using repo.or.cz, and the other
> made by git-svn against Google' subversion.
I'd merge them by fetching the pure-git one into the git-svn'ed. Or vice
versa. Then, you can say "git merge <other-branch>". If the revisions are
similiar (or identical), it will succeed even if they do not have any
common ancestor.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-06 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 14:56 merging two repositories joel reed
2007-06-06 18:01 ` Johannes Schindelin
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).