所以 - 我以前有一个名为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