【发布时间】:2011-09-02 21:19:50
【问题描述】:
我正在清理一个 Subversion 目录,包括删除一个 jquery-ui 目录(我认为已经提交)并将子目录的内容移动到其父目录。 (我正在使用 Linux 命令行。)
一长串尝试的解决方法中的最后一个给出:
jonathan@machine:~/svn3/coms_poc_ajax/trunk/coms/static$ svn update jquery-ui
At revision 53.
jonathan@machine:~/svn3/coms_poc_ajax/trunk/coms/static$ svn delete jquery-ui
D jquery-ui
jonathan@machine:~/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'
所以我尝试用源代码管理注册目录:
jonathan@machine:~/svn3/coms_poc_ajax/trunk/coms/static$ cd ..
jonathan@machine:~/svn3/coms_poc_ajax/trunk/coms$ svn add static
svn: warning: 'static' is already under version control
jonathan@machine:~/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 目录的幽灵并恢复正常提交更新?
【问题讨论】:
标签: svn version-control commit