OK, so I seem to have actually been fighting some caching whilst experimenting with config options.
It now appears to be working fully (all parts).
The browse links are fixed by setting this (thanks Gert for nudging me to try this again :-)).
[gerrit]
... and the hashes are fixed by adding the following to gerrit.config:
[gitweb]
type = custom
linkname = gitiles
url =
https://review.mydomain.com/plugins/gitiles/ revision = ${project}/+/${commit}
project = ${project}
branch = ${project}/+/${branch}
filehistory = ${project}/+log/${branch}/${file}
file = ${project}/+/${commit}/${file}
roottree = ${project}/+/${commit}/
I think that not all of these options are necessary, will attempt to look at this again tomorrow and work out which ones are actually needed.
However, I suspect that the commit-hash links should not require the [gitweb] config to work, so there is likely something else I've still got wrong.
Thanks,
David.