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

Re: hot to fix git svn import or just discard 'branches' folder

From: Marius Seritan <hidden>
Date: 2016-06-15 22:46:06

On Feb 4, 2009, at 11:05 AM, Marius Seritan wrote:
quoted
I believe fixing this without reimporting requires using "git  
filter-branch".  I'm unfamiliar with it, so I can't help you with  
that part.
Thanks, I will look into it. From the first read this seems to be  
pretty advanced.
Ok, I think I killed it :-/

I did
git filter-branch --subdirectory-filter trunk -- --all

This cleaned up git and I have just the trunk for 218MB, that's much  
more acceptable. Unfortunately 'git svn rebase' now returns:

Unable to determine upstream SVN information from working tree history

I went into the .git/config and added a trunk but no luck. I also  
edited .git/svn/.metadata in the same way.

As another data point git svn log is still working.


Marius
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help