git-svn: simple user-level versions question, plus help request

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-svn: simple user-level versions question, plus help request

From: Richard Holmes <hidden>
Date: 2016-06-15 22:53:05

Hi all,

I've enjoyed using git-svn in the past, and it's been great until I
had to update my local svn executable to support the server's adoption
of sslv3.  I updated and configured my svn client with ra_serf and
then I could use svn standalone again.

When I went back to a git-svn project, I found that I could no longer
interact with the svn server via git-svn.  I tried recreate the
git-svn tree by blowing away my working copy and starting over:
     git svn init --stdlayout https://<redacted>/svn/path/to/repo
and got the familiar ssl error:
    Initialized empty Git repository in /Volumes/foo/bar/.git/
    RA layer request failed: OPTIONS of
'https://<redacted>/svn/path/to/repo': SSL handshake failed: SSL
error: bad decompression (https://<redacted>) at
/usr/local/Cellar/git/1.7.8.2/libexec/git-core/git-svn line 2299

(Yes, I'm using MacOS Lion and Homebrew to install git).  So, it
appears that the svn with the ra_serf is not being used by git-svn.
Obvious questions:
    1) Can I force git to use "my" version of svn for git-svn?
    2) If so, how / where is this configured?
    3) If not, what else can I do to get git-svn to talk to my svn server?

After looking at the respective versions, it appears that git svn
shows svn version 1.6.16 and my svn (standalone) client shows svn
version 1.6.17 (and its associated RA modules):

    $ git svn --version
    git-svn version 1.7.8.2 (svn 1.6.16)
    $ svn --version
svn, version 1.6.17 (r1128011)
   compiled Aug 26 2011, 09:41:54

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

$ which git
/usr/local/bin/git
$ which svn
/opt/subversion/bin/svn

Sorry for the long post, but any help would be appreciated.  Doesn't
seem to be a common problem (judging from lack of discussion on
google), so I'd appreciate any pointers, either to documentation about
git's svn path / configuration, problem tickets, or ways to determine
if I've done something wonky to my environment to seriously confuse
git / svn.

Thanks!

-Richard.

Re: git-svn: simple user-level versions question, plus help request

From: Nikolaus Demmel <hidden>
Date: 2016-06-15 22:53:06

Richard Holmes wrote
After looking at the respective versions, it appears that git svn
shows svn version 1.6.16 and my svn (standalone) client shows svn
version 1.6.17 (and its associated RA modules):
I'm not quite sure how everything fits together, but AFAIK git-svn uses the
perl subversion module, meaning that you might possibly need to update
those.

Best regards,
Nikolaus

--
View this message in context: http://git.661346.n2.nabble.com/git-svn-simple-user-level-versions-question-plus-help-request-tp7292358p7298053.html
Sent from the git mailing list archive at Nabble.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help