所以 - 我以前有一個名爲mysql的目錄。我刪除了它,並決定從頭開始 - 但是當我嘗試創建新的mysql目錄 - 我一直運行到「文件已存在」的錯誤:Subversion的奇怪問題 - 試圖重新創建一個用於存儲庫的目錄時,「文件已存在」
support:/etc/puppet/modules# mkdir mysql
support:/etc/puppet/modules# svn add mysql/
A mysql
support:/etc/puppet/modules# svn commit -m " Test"
Adding modules/mysql
svn: Commit failed (details follow):
svn: File already exists: filesystem '/var/lib/svn/puppet/db', transaction '11-r', path '/trunk/modules/mysql'
support:/etc/puppet/modules# svn delete mysql
svn: Use --force to override this restriction
svn: 'mysql' has local modifications
support:/etc/puppet/modules# svn --force delete mysql
D mysql
我看到了一些其他職位建議強制更新
support:/etc/puppet/modules# svn status
support:/etc/puppet/modules# svn update
At revision 11.
support:/etc/puppet/modules# svn mkdir mysql
A mysql
support:/etc/puppet/modules# svn commit -m "Test"
Adding modules/mysql
svn: Commit failed (details follow):
svn: File already exists: filesystem '/var/lib/svn/puppet/db', transaction '11-s', path '/trunk/modules/mysql'
聽起來可行的爲好,但因爲我得到了它的更新到舊的版本,並從那裏變化的工作,我真的不能檢驗這個理論。謝謝你的提示。 – gnarf 2009-09-10 22:23:30