Jan Krüger wrote: > Suppose someone fetches git-svn-ified commits from another repo and then > attempts to use 'git-svn init --rewrite-root=foo bar'. Using git svn rebase > after that will fail badly: > > * For each commit tried by working_head_info, rebuild is called indirectly. > * rebuild will iterate over all commits and skip all of them because the > URL does not match. Because of that no rev_map file is generated at all. > * Thus, rebuild will run once for every commit. This takes ages. > * In the end there still isn't any rev_map file and thus working_head_info > fails. Very timely, I had just been beating my head against this problem. Your patch works great for me. -- see shy jo
Attachment:
signature.asc
Description: Digital signature