git-svn breaks lots with rewriteRoot
- From
- John Goerzen <jgoerzen@complete.org>
- Date
- Mar 8, 2008, 13:35 UTC
- Message-ID
- <slrnft55gq.1so.jgoerzen@katherina.lan.complete.org>
I've trying to work with a remote repo. I initially git-svn fetched it using svn://. Now I have been given svn commit access, which uses svn+ssh:// on their server. I edited my .git/config and set url to the svn+ssh address and rewriteRoot to the svn:// address I wasusing before. This appears to work fine for doing more read operations, such as svn fetch.
I am having a problem, though, with svn dcommit and svn rebase. I believe both are related to this rewriteRoot. When I run either of these, I see:
Unable to determine upstream SVN information from working tree history
Looking at the working_head_info and find_by_url subs in git-svn, it appears that neither is considering rewriting. One of them needs to be, I believe, rewriting the URL from git-svn-id back to the "true" URL over on the server. This causes it to never match any of the remote sections in .git/config.
I'm not good enough with Perl anymore, and certainly not goot enough with this program, to whip up a patch. Can anyone help with this?