# git-svn breaks lots with rewriteRoot

2 messages from 2008-03-08 to 2008-03-08. Participants: John Goerzen.
Thread: https://gitlist.dev/t/12574

## John Goerzen, 2008-03-08 13:35

Subject: git-svn breaks lots with rewriteRoot
Message-ID: <slrnft55gq.1so.jgoerzen@katherina.lan.complete.org>
URL: https://gitlist.dev/e/slrnft55gq.1so.jgoerzen%40katherina.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?



```

## John Goerzen, 2008-03-08 20:09

Subject: Re: git-svn breaks lots with rewriteRoot
Message-ID: <slrnft5sjp.if8.jgoerzen@katherina.lan.complete.org>
URL: https://gitlist.dev/e/slrnft5sjp.if8.jgoerzen%40katherina.lan.complete.org
In-Reply-To: <slrnft55gq.1so.jgoerzen@katherina.lan.complete.org>

```
On 2008-03-08, John Goerzen <jgoerzen@complete.org> wrote:
> 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

For future reference, I found the problem and have sent in a patch to
fix it here:

http://article.gmane.org/gmane.comp.version-control.git/76576


```
