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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]