Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Get Status of Only a Directory in Subversion

Is there a Subversion command that only provides a status (Added, Modified, Deleted, etc.) of a specified directory on the remote repository? Currently, if diff is passed on, status of all the files and sub-folders is displayed, e.g.:

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

The output I would like to get is only the information for path/ directory and no child files/directory, e.g.:

A    http://repo/url/trunk/new/path
like image 499
Malvon Avatar asked Oct 20 '25 04:10

Malvon


1 Answers

Use depth option for svn status

like image 77
Y.N Avatar answered Oct 22 '25 04:10

Y.N