git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn: simple user-level versions question, plus help request
@ 2012-02-16 20:57 Richard Holmes
  2012-02-19  4:25 ` Nikolaus Demmel
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Holmes @ 2012-02-16 20:57 UTC (permalink / raw)
  To: git

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.

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

end of thread, other threads:[~2012-02-19  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 20:57 git-svn: simple user-level versions question, plus help request Richard Holmes
2012-02-19  4:25 ` Nikolaus Demmel

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).