I have been troubleshooting some tools that process Subversion commits from a particular repository.
While most revisions are correctly displayed, 'svn log' returns some revisions with no author, date or message:
svn log http://myrepository.com -r 123456
------------------------------------------------------------------------
r123456 | (no author) | (no date) | 1 line
------------------------------------------------------------------------
I suspect this is due to a lack of access permissions for particular files on the changed path. Could this be something more than simply a lack of permissions?
The lack of a author or date is not a sign of a permissions problem. The lack of a log message may be a sign of a permissions problem.
First of all Subversion does not actually require the svn:author, svn:date or svn:log properties actually be set to anything. In general you won't end up with a commit without a svn:author or svn:date empty unless someone has removed the properties with the propdel command (e.g. svn propdel svn:author --revprop -r 1234 $URL
). Subversion tries to encourage you to leave a log message but you can also give it a blank one unless that's limited by commit hooks. So it's entirely possible that someone intentionally made those changes to the revision. This also means that any tools you're using to process Subversion commits should be able to handle the lack of these values.
With respect to permissions if you're using path based authorization (authz-db with svnserve or AuthzSVNAccessFile with httpd) then your access to the paths modified by the revision may limit what you can see.
In particular:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With