I cloned the SVN repository to the git repository using git svn clone
. At this point, I did not have a username on this site and therefore did not use the --username
clone
parameter. Since I can now commit the SVN repository with my new username, I would like to add this username. Without it, dcommit
simply fails:
% LANG=C git svn dcommit Committing to <THE URL> ... RA layer request failed: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/0ceca4c5-f7b4-4432-94be-0485559a6040' at /usr/lib/git-core/git-svn line 945.
Is there a way to tell git about a new username? git-svn manual doesn't seem to help: adding a username is only allowed on init
and branch
. I don't know how git works with SVN internally, but I guess there should be a way after that to add a username.
Please note that I use SVN via http.
source share