2011-05-26 101 views
0

我正在清理一個Subversion目錄,包括刪除一個jquery-ui目錄(已經提交我認爲)並將子目錄的內容移動到其父目錄。 (我是從一個Linux命令行工作)如何在父目錄不再受版本控制後提交SVN刪除?

最後一次的解決方法的一長串給出:

[email protected]:~/svn3/coms_poc_ajax/trunk/coms/static$ svn update jquery-ui 
At revision 53. 
[email protected]:~/svn3/coms_poc_ajax/trunk/coms/static$ svn delete jquery-ui 
D   jquery-ui 
[email protected]:~/svn3/coms_poc_ajax/trunk/coms/static$ svn commit jquery-ui 
svn: Commit failed (details follow): 
svn: '/svn/coms_poc_ajax/trunk/coms/static' path not found 
svn: Your commit message was left in a temporary file: 
svn: '/home/jonathan/svn3/coms_poc_ajax/trunk/coms/static/svn-commit.2.tmp' 

所以我嘗試註冊與源代碼控制的目錄:

[email protected]:~/svn3/coms_poc_ajax/trunk/coms/static$ cd .. 
[email protected]:~/svn3/coms_poc_ajax/trunk/coms$ svn add static 
svn: warning: 'static' is already under version control 
[email protected]:~/svn3/coms_poc_ajax/trunk/coms$ svn commit static 
... 
svn: Commit failed (details follow): 
svn: File 'static/jquery-ui' is out of date 
svn: '/svn/coms_poc_ajax/!svn/wrk/a41dde0b-6ccd-43cf-80d6-c237fc63ceda/trunk/coms/static/jquery-ui' path not found 
svn: Your commit message was left in a temporary file: 
svn: '/home/jonathan/svn3/coms_poc_ajax/trunk/coms/svn-commit.3.tmp' 

我需要做些什麼來驅除jquery-ui目錄的幽靈,並重新正常提交更新?

回答

0

我試了兩個答案,仍然與Subversion戰鬥。我做了一個新的結帳,似乎消除了服務器和我的副本之間是否存在目錄X(至少現在)的差異。

相關問題