svn diff --diff-cmd "diff" -x "-q" . | grep Index | cut -d " " -f 2
转载自:http://jonathanpolansky.com/2009/04/list-only-the-path-and-filenames-of-files-with-differences-using-subversion-svn/
以下是原文:
The Subversion svn command has built in diff functionality but it is more limited than GNU diff. It doesn’t allow you to use the ‘-q’ option to “Report only whether the files differ, not the details of the differences.” Luckily, svn allows you to specify an external “diff” command and then pass it arguments. Use the following command to list only files with local modifications and changes within a subversion checkout.

本文介绍如何使用SVN内置的diff功能结合外部diff命令及grep和cut工具,仅列出版本控制系统中发生变化的文件路径及文件名,忽略具体差异细节。
2396

被折叠的 条评论
为什么被折叠?



