Svn – Author missing from subversion revision

apache-2.2httpssvntortoisesvn

I just migrated an existing svn repository to a new server. Previously the users connected using tortoise-svn over http, and when committing, would have their revision associated with there user by the svn:author property.

However now, after the move the users connect using tortoise-svn over https, and revisions no longer have associated authors.

After some research, it is my suspicion that since users are now being authenticated during the creation of the https connection, and not by subversion, that information is not being passed with their revision changes. However I have not found any way in tortoise or further down the software chain to provide this information directly.

But, I could be totally wrong. Thanks for the help.

Software stack:
Tortoise-svn v1.6.10 connecting over https to…
Apache v2.2 on Ubuntu 10.04 running …
mod_dav_svn with …
Subversion v1.6.12

Best Answer

No matter whether you are using http or https, Apache can send the authentication information to Subversion repository, provided the resource in question (the Subversion repository) is protected by authorization requirements. In the <Location> or <Directory> block for your repository (or higher up in the path), do you have either:

require valid-user

or something to the effect of one or both of these:

require user joe jane george
require group developers admins

If the repository is not actually requiring authorization for them, their authentication is deemed irrelevant and not passed on to Subversion, resulting in an anonymous commit.

Hope this sends you in the right direction.