Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change svn user name during commit

We have corporate logins like QWE098765 and using them to acess to SVN repository. I want map this names to emails, so in SVN history they will be human readable.

Currently I use post-commit hook which change svn:author revision property, but... But here is small gap between commit and change name, and sometime applications which track SVN changes (CommitMonitor, Jenkins) catch QWE098765 name instead of emails. This is not very big problem, but annoying.

May be here is other way to map names?

P.S. We use VisualSVN server for access to repository.

like image 424
Sergey Azarkevich Avatar asked Feb 14 '26 04:02

Sergey Azarkevich


1 Answers

Just do it in pre-commit hook (I know about and follow "Do not modify transaction content in pre-commit", but log, author and date properties are another story and they can be changed freely)

like image 138
Lazy Badger Avatar answered Feb 17 '26 06:02

Lazy Badger