开发者

Listing changes made by a particular user in svn using windows command prompt

开发者 https://www.devze.com 2023-03-10 07:34 出处:网络
I have the same requirement as asked in the question List all files changed by a particu开发者_C百科lar user in subversion.

I have the same requirement as asked in the question List all files changed by a particu开发者_C百科lar user in subversion.

I want to display all the changes made by a particular user in SVN (by date)using windows command prompt, so that we can include it in a batch file.

Are there any ways to do it?


If you have and can use Powershell :

 svn log -v http://mb-unit.googlecode.com/svn/trunk | Select-String "author"

In a batch file you can do like:

@powershell -command "svn log -v http://mb-unit.googlecode.com/svn/trunk | Select-String 'author'"

Tools like grep, findstr ( common on Windows ) can also be used. ALso, even sed as mentioned in the answer that you have linked to, is available for windows ( through Msys for example - http://www.mingw.org/wiki/msys )

0

精彩评论

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