2015-03-31 76 views

回答

2

svn info會告訴你。下面是與svn update --set-depth=files更新目錄:

> svn info "C:\path\to\directory" 
Path: C:\path\to\directory 
Working Copy Root Path: C:\path 
URL: http://svn.example.com/path/to/directory 
Relative URL: ^/path/to/directory 
Repository Root: http://svn.example.com/path 
Repository UUID: 3183f4db-b256-8143-8013-6b50bc517e3e 
Revision: 4860 
Node Kind: directory 
Schedule: normal 
Depth: files 
Last Changed Author: abc 
Last Changed Rev: 1234 
Last Changed Date: 2014-12-09 14:52:55 -0500 (Tue, 09 Dec 2014) 

Depth: files指示更新的深度。當深度爲infinity時,該行只是缺失。否則,它將是「empty」,「files」或「immediates」(在svn update幫助中列出的那些)之一。

請注意,對於稀疏結帳,它將是empty,因爲稀疏結帳並不真正映射到任何其他值。