Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Rewriting git history during git-svn conversion

From: Thomas Ferris Nicolaisen <hidden>
Date: 2016-06-15 23:00:10

On Mon, Mar 3, 2014 at 7:38 PM, Robert Dailey [off-list ref] wrote:
Is it safe to do this while still using git svn fetch? Will it
properly continue to convert SVN commits on top of my rewritten
history? If not, what changes can I make after I run the commands
linked by the URL above so that git svn continues to work normally?
I think it's OK. git-svn doesn't continuously verify the integrity of
history already converted, I believe.

Just try it out, it worked fine in a little demo setup I made
(although I used rebase -i instead of filter-branch):

git svn clone .. #maybe clone a little test repository to speed up the testing
git filter-branch ... #remove unwanted files
git svn fetch #this should work

On a related note, maybe you'll enjoy my git-svn demos & ideas here:
http://www.tfnico.com/presentations/git-and-subversion
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help