Actions
Feature #20689
openAbility to set properties during repository creation (SVN reposman)
Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
There is feature for Referencing issues in commit messages.
Let's say I'd like to add some properties during repository creation to highlight the issue's URL or keywords from above feature in TortoiseSVN commit dialogue window in log message.
To achieve result as on picture above I need to set such changes in my working copy and commit changes:
- svn propset bugtraq:url "http://redmine.com/issues/%BUGID%" .
- svn propset bugtraq:logregex "([Rr]efs #\d+)|([Ff]ixes #\d+) (\d+)"
There should be extra option in reposman.rb to accept new optional argument, say --propset. This argument have to point to text file with properties defined.
Then we execute:
ruby reposman.rb --redmine my.redmine.host \ --svn-dir /var/svn --owner www-data \ --url http://my.svn.server/svn/ \ --key=my_api_key \ --propset /root/repositorysettings.txt
and /root/repositorysettings.txt contains:
bugtraq:url "http://redmine.com/issues/%BUGID%" . bugtraq:logregex "([Rr]efs #\d+)|([Ff]ixes #\d+) (\d+)"
Files
Updated by Toshi MARUYAMA about 9 years ago
- Subject changed from Ability to set properties during repository creation to Ability to set properties during repository creation (SVN reposman)
- Category changed from SCM to SCM extra
Actions