質問

So let's say I've changed my "sticky depth" of a working copy directory to 'immediates', with

svn update --set-depth immediates my_dir

(Something related to sparse dirs.)

How do I determine this status of my_dir? Eg. I forgot which depth did I set, how can I check / test it? I've tried with svn info -v . in the parent with an exclude -d dir, but I could not see any info on it at all.

役に立ちましたか?

解決

Yes, svn info is the right way. Just see at output, Depth key and compare values

>svn co URL --depth files
...
>svn info
...
Depth: files
...

and after update

>svn up --set-depth immediates
...
>svn info
...
Depth: immediates
...

他のヒント

The way to go is svn info, then look for Depth: ....

Excluded directories are tricky. They are excluded, i.e. not considered. Some SVN clients will show excluded directories with svn info -R, but that is not reliable (e.g. SVN 1.6 does not show it). Run svn ls (or svn ls|grep '/$') to get a list of all directories and compare that list with the actual directories and the output of svn st. If the directory is not present in your working copy and the status does not show it, then it is excluded.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top