开发者

how to save all the deleted file names in a .txt file using svn ant Ant

开发者 https://www.devze.com 2023-03-18 02:26 出处:网络
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 proje

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"'


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号