如何使用 svn ant Ant 将所有删除的文件名保存在 .txt 文件中

发布于 2024-11-19 00:03:30 字数 427 浏览 1 评论 0原文

我正在使用 Ant 在 SVN 命令中工作,我面临一个问题,我无法列出存储库中所有已删除的文件....这是显示项目中已完成的所有更改的代码.. ..

<target name ="change">
    <svn username="username" password="password">
    <log path="D:\url\to\the\file" destFile="changes.txt" asXml="false"/>
    </svn>
</target>

它使用这个文件,但我想知道如何插入一个参数,

我设法使用命令提示符获取该数据,这里是命令

svn log -v --xml D:\url\to\the\file | grep '动作=“D”'

i'm working in SVN commands using Ant, and i face a problem that i can't list all the deleted files from the repository .... here is the code to show all the changes that have been done in the project ....

<target name ="change">
    <svn username="username" password="password">
    <log path="D:\url\to\the\file" destFile="changes.txt" asXml="false"/>
    </svn>
</target>

it using this file, but i want to know how i can insert an argument

i manage to get that data using the command prompt here is the command

svn log -v --xml D:\url\to\the\file | grep 'action="D"'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不再见 2024-11-26 00:03:30

您可以使用 任务来执行 svn log -v --xml D:\url\to\the\file | grep 'action="D"' 并获取您需要的内容。或者您必须自己扩展/修改 svn 任务。

You can use the <exec> task to execute svn log -v --xml D:\url\to\the\file | grep 'action="D"' and get what you need. Or you have to extend / modify the svn task yourself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文