move files between disparate repos and maintain version history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux