I had a boss, elapsed time, who decided to put the svn branches in the same folder as the trunk. Normally, this would not affect me so much, but since I use git-svn, everything is going so well. After I made a selection, she created a folder for each branch in my root folder, so I have three folders, drupal, trunk and client. The drupal folder is git's main branch, the client and the trunk are svn branches.
Merging and doing the job is great, because everything related to git works just fine. However, dcommit is completely closed, it is trying to create a folder called client and one called trunk. I can’t even imagine what kind of chaos this will cause for svn later.
So my question is: what did I do wrong in my .git / config and is there anything I can do to fix this, or will I have to suffer and get back to using svn?
Please do not make me come back. I don’t think I can do it. Bastard boss knows how to leave a legacy.
[svn-remote "svn"]
url = https://svn.mydomain.com/svn/project_name
fetch = trunk:refs/remotes/trunk
branches = *:refs/remotes/*
tags = tags/*:refs/remotes/tags/*
Usually the branch line will look like this (when using --stdlayout):
branches = branches/*:refs/remotes/branches/*
Thus, the conclusionls:
$ ls
client/ docs/ drupal/ sql/ trunk/
git -a output:
* master
trunk
remotes/git-svn
remotes/trunk
source
share