Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#32753 closed defect (worksforme)

git-svn assertion failed (svn_uri_is_canonical(repos_URL, pool))

Reported by: jochen@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: svn subversion Cc:
Port: git

Description (last modified by jochen@…)


I am having trouble with git-svn, i.e., with the combination of git-core and subversion. Since the last upgrade, whenever I am trying to fetch (in my case from a https:// URL) I get the following error

svn: E235000: In file 'subversion/libsvn_ra_neon/session.c' line 798: assertion failed (svn_uri_is_canonical(repos_URL, pool))
error: git-svn died of signal 6

Accessing the same subversion repository with plain svn (the same version) does work.

I have searched the web, but could not find any description of the underlying issue or of others who might have this problem. However, apparently there is something wrong in the

communication of git and svn...

> git --version
git version
> git svn --version
git-svn version (svn 1.7.2)
> svn --version
svn, version 1.7.2 (r1207936)
   compiled Jan  2 2012, 23:23:36

Copyright (C) 2011 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see

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

Btw, it works with the current git binary from

(Which is an ugly but workable workaround for the time being).

Change History (6)

comment:1 Changed 6 years ago by jochen@…

Description: modified (diff)

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

Keywords: git-core removed
Port: git-core added

comment:3 Changed 6 years ago by ci42

Owner: changed from macports-tickets@… to ciserlohn@…

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Port: git added; git-core removed

comment:5 Changed 3 years ago by larryv (Lawrence Velázquez)

Resolution: worksforme
Status: newclosed

I use git svn to communicate with MacPorts’ HTTPS Subversion repository all the time and never see any issues. Perhaps this was resolved sometime in the last 3 years.

comment:6 Changed 3 years ago by jochen@…

Let me confirm that this had worked for me for a long time now as well.

Apologies for keeping the ticket open, but it must have lost my attention with time.

Note: See TracTickets for help on using tickets.