git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn breaks lots with rewriteRoot
@ 2008-03-08 13:35 John Goerzen
  2008-03-08 20:09 ` John Goerzen
  0 siblings, 1 reply; 2+ messages in thread
From: John Goerzen @ 2008-03-08 13:35 UTC (permalink / raw)
  To: git

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-08 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-08 13:35 git-svn breaks lots with rewriteRoot John Goerzen
2008-03-08 20:09 ` John Goerzen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).