git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* move files between disparate repos and maintain version history
@ 2009-03-02 20:30 davetron5000
  2009-03-03  4:13 ` Jeff King
  0 siblings, 1 reply; 7+ messages in thread
From: davetron5000 @ 2009-03-02 20:30 UTC (permalink / raw)
  To: git

Using git-svn at work, and had to do some svn moves that I'm wondering
would be handled with git?

Our repo is setup like this:

$SVNROOT/main/core/{trunk,tags,branches}
$SVNROOT/main/app/{trunk,tags,branches}

core and app are treated as different project roots internally, and my
git-svn treats them as such.

We recently needed to move some files from app to core.  I could've
just moved them in between my git repos, but the version history would
be lost, since these are two separate repos.  I did the move via svn
mv, which works simply because our "separate projects" are really just
in the same SVN repo.

So, is there a way I can move a file between two git repositories,
maintaining the change history?  I guess it would be something like
"apply all patches that this file was involved in, but ONLY apply the
ones affecting this file, to the new repo, then delete from the old"?

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

end of thread, other threads:[~2009-03-03 19:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 20:30 move files between disparate repos and maintain version history davetron5000
2009-03-03  4:13 ` Jeff King
2009-03-03 16:58   ` David Copeland
2009-03-03 17:18     ` Jeff King
2009-03-03 18:08       ` David Copeland
2009-03-03 19:22         ` Peter Baumann
2009-03-03 19:27         ` Jeff King

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