Hello Svend,
From the first glance everything you did looks correct. Indeed you can place
excludeBranches = branches/obsolete/*
everywhere under [svn] section, so this is also correct.
I suspect that your configuration change was not applied. SubGit doesn't pick subgit/config file changes on the fly but only after running "subgit install path/to/git/repository" (in case you need continuous synchronization between SVN and Git) or "subgit import path/to/git/repository". So may I ask you to do the following:
1. Run
subgit map branches/obsolete/branchname path/to/git/repository
OR
subgit map svn://<domain>/<project-root-path>/branches/obsolete/branchname path/to/git/repository
"subgit map" is a hidden command, you can run "subgit help map" to see its documentation. It allows to see whether SVN path is mapped to some Git branch or not and if yes, to which one.
2. Another file I would like you to look into is
path/to/git/repository/subgit/.run/config
When applying subgit/config configuration, SubGit copies this file (with maybe some modifications) to subgit/.run/config and only this file is actually used. So look inside it to see whether
excludeBranches = branches/obsolete/*
is actually there.
3. The last file I would ask you to check is
path/to/git/repository/svn/.svngit/svngitkit.config
Have a look at it and check whether it contains
excludeBranches = branches/obsolete/*
as well.
Please share this information with us. If some of the files miss this line, with high probability (I will tell you that with higher confidence when you try steps (1)-(3)) you'll need to re-import the repository from scratch because not every option of subgit/config file can be changed and applied on the fly without re-translating the whole repository and 'excludeBranches' option is among those which need full repository re-translation, so you need to start over after changing this option.
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge