是否有Subversion命令仅提供远程存储库上指定目录的状态(已添加,已修改,已删除等)?目前,如果传递diff
,则显示所有文件和子文件夹的状态,例如:
svn diff -summarize -rXXX:HEAD http://repo/url/trunk/new/path
A http://repo/url/trunk/new/path/file1.txt
A http://repo/url/trunk/new/path/file2.txt
A http://repo/url/trunk/new/path/file3.txt
A http://repo/url/trunk/new/path/file4.txt
A http://repo/url/trunk/new/path
我想得到的输出只是path/
目录的信息,没有子文件/目录,例如:
A http://repo/url/trunk/new/path