git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Goerzen <jgoerzen@complete.org>
To: git@vger.kernel.org
Subject: git-svn breaks lots with rewriteRoot
Date: Sat, 8 Mar 2008 07:35:23 -0600	[thread overview]
Message-ID: <slrnft55gq.1so.jgoerzen@katherina.lan.complete.org> (raw)

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?



             reply	other threads:[~2008-03-08 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 13:35 John Goerzen [this message]
2008-03-08 20:09 ` git-svn breaks lots with rewriteRoot John Goerzen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnft55gq.1so.jgoerzen@katherina.lan.complete.org \
    --to=jgoerzen@complete.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).