如何在svnant日志任务中使用-v触发器?
在我的 Ant 构建脚本中,我使用 svnant 检索特定目录的 SVN 日志;现在我也想查看更改的文件。我尝试过
<svn username="${svn.username}" password="${svn.password}" failonerror="true">
<log path="${dir}" destFile="${dest}" asXml="false" verbose="true" />
</svn>
但惨遭失败
日志不支持“详细” 属性
有人已经尝试实现这个(源),但是 log 命令源的 svn 日志(嘿,递归!)说
~ 删除了 'verbose' 属性 当此选项被传递时的命令 蚂蚁执行
也许我只在盒子里思考,但我只是不明白......我在哪里传递这个选项? 如果我无法在我的ant脚本中传递它,除了篡改源代码并编译我自己的svnant之外,是否有可能强制svnant日志变得冗长?
in my Ant build script, I'm using svnant to retrieve SVN logs for specific directories; now I want to see the changed files, too. I tried
<svn username="${svn.username}" password="${svn.password}" failonerror="true">
<log path="${dir}" destFile="${dest}" asXml="false" verbose="true" />
</svn>
and failed miserably with
log doesn't support the "verbose"
attribute
After some research I found out that someone already tried to implement this (source) but the svn log of the log command source (hey, recursion!) says
~ dropped the 'verbose' attribute on
commands as this option is passed by
the ant execution
Perhaps I'm thinking only inside the box, but I just don't get it ... where do I pass this option?
If I can't pass it in my ant script, is there a possibility to force svnant log to be verbose apart from tampering with the source and compiling my own svnant?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们使用这样的代码来获取文件列表:
根据您的代码和我们的代码之间的差异,我希望以下内容能够工作:
可能不需要开始和停止修订,因此您将拥有:
We use code like this to get a file list:
Based on the differences between your code and ours I'd expect the following to work:
The start and stop revision may not be needed and thus you would have: