"git mv" and "svn mv" preserved with git-svn?
rodrigc at FreeBSD.org
Wed Apr 22 04:29:57 UTC 2015
On Tue, Apr 21, 2015 at 7:03 PM, Craig Rodrigues <rodrigc at freebsd.org>
> On Tue, Apr 21, 2015 at 5:53 PM, Craig Rodrigues <rodrigc at freebsd.org>
>> If someone submits a github pull request that does "git mv",
>> will these translate properly to "svn mv" if the following workflow is
>> Specifically, I am looking at this:
> Stackoverflow says that "git mv" should be preserved as "svn mv" with "git
> svn dcommit":
> but I just wanted to verify with someone else before I try it.
I ran some experiments with git-svn, and it looks like it *does* translate
git mv to svn mv:
$ git svn dcommit
Committing to file:///opt2/home/rodrigc/dummyrepo ...
R kerberos5/Makefile => kerberos5/tools/slc/Makefile2
In the original svn repo, if I did: svn log kerberos5/tools/sc/Makefile,
the history of the original file before the mv was preserved.
More information about the freebsd-git