[英]SVN revprop in git-svn
I have repository in SVN (due to some business reasons I cannot switch fully to git) but I locally prefer to use git with git-svn. 我在SVN中有存储库(由于某些业务原因,我无法完全切换到git),但是我在本地更喜欢将git与git-svn一起使用。 But because of CI configuration I need to set custom revprops during commit
但是由于配置CI,我需要在提交期间设置自定义revprops
svn ci --with-revprop ARG=value
It seams git-svn does not support it, I would like to ask if someone have any clever workaround? 它接缝git-svn不支持它,我想问问别人是否有任何聪明的解决方法? Is it possible add revprops to dcommit like:
是否可以将revprops添加到dcommit,如:
git svn dcommit --with-revprop ARG=value
You would need to modify the git-svn.perl script, more precisely the dcommit
options part in order to add --with-revprop
您需要修改git-svn.perl脚本,更确切地说是
dcommit
选项部分 ,以便添加--with-revprop
Then you would use that option in sub cmd_dcommit
. 然后,您可以在
sub cmd_dcommit
使用该选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.