From: James Y Knight Date: Mon, 04 Apr 2011 22:16:04 GMT Subject: Re: [PATCH 1/2] git-svn: Fix the commit-url config to be the base url, just like the url config Message-ID: In-Reply-To: <20110404215227.GA4224@dcvr.yhbt.net> On Apr 4, 2011, at 5:52 PM, Eric Wong wrote: > $_commit_url is a user-specified parameter from the --commit-url switch. > If they want to override it it's the user's perogative. It's not the > default and not commonly used. In .git/config: [svn-remote "svn"] url = http://hostname/svnrepo/ commiturl = svn+ssh://hostname/svnrepo branches = branches/*:refs/remotes/origin/* fetch = trunk:refs/remotes/origin/master The commiturl configuration is necessary so that the canonical URL is the http:// url (which can be used for read-only access), but if you want to commit, you have to use svn+ssh. This is a fairly common way of setting up access to an svn repository, so I'm surprised to be the first one to hit this issue. Without the patch, you need: commiturl = svn+ssh://hostname/svnrepo/trunk which of course then doesn't allow you to commit to other branches. James