2010-02-08 26 views

回答

122

爲了提交僅命令行上指定的顯式路徑使用--depth empty選項例如在新修改的外部財產目錄:

$svn commit --depth empty . -m "Modify svn externals definition only." 
3

如果你只想對你的工作拷貝改變的,而不是你能做到這一點對倉庫馬上財產。

例如:

svn propset svn:externals "test http://yourhost.com/svn/trunk/module/test/src" --revprop -r HEAD http://yourhost.com/svn/trunk/module 

參見SVN book on manipulating properties

+3

是的,但這並不能解釋當你忘記添加提交信息做什麼,你有一個屬性變化大的中間掛出文件更改次數。 – 2010-07-29 15:46:20

相關問題