views:

832

answers:

2

Is there a way to set subversion properties on a git repository that was created by git-svn?

In my case, I want to edit the version of svn:external, svn:ignore and svn:executable.

However, the only way to do so seems to involve a check-out with the subversion client. Is there a way to edit svn properties without having to check out the repository twice (one time for git and one time with svn for the properties)?

+3  A: 

git-svn does not support Subversion properties. When I run into this problem, I usually end up having two checkouts.

This is mentioned in the git-svn documentation under BUGS:

We ignore all SVN properties except svn:executable. Any unhandled properties are logged to $GIT_DIR/svn/<refname>/unhandled.log

Greg Hewgill
This is not the answer I hoped for - but I guess I have to accept it.
Black
+1  A: 

Started working on a patch to support git svn propset here: git svn propset support

David Fraser
Thank You, David.I look forward to seeing this functionality in the next release version.
Black