我有一个像这样的文件夹结构:
A/B/C/hello.txt
Run Code Online (Sandbox Code Playgroud)
我使用svn mv将A重命名为Z:
Z/B/C/hello.txt
Run Code Online (Sandbox Code Playgroud)
然后我对hello.txt进行了一些修改.现在,svn状态给出:
D A/B/C/hello.txt
A+ Z
M+ Z/B/C/hello.txt
Run Code Online (Sandbox Code Playgroud)
当我尝试提交时,我收到以下错误消息:
'Z/B/C' is not under version control and is not part of the commit, yet its child 'Z/B/C/hello.txt' is part of the commit
Run Code Online (Sandbox Code Playgroud)
Sus*_*ora 10
Commands and their output to rename SVN folder in above example are shown below: # svn mv A Z A Z D A/B/C/hello.txt D A/B/C D A/B D A # ls A Z # rm -rf A #ls Z # svn st D A A + Z # svn ci -m "Commit message." Deleting source/A Adding source/Z Committed revision 307. # svn st # ls -R .: Z ./Z: B ./Z/B: C ./Z/B/C: hello.txt
| 归档时间: |
|
| 查看次数: |
22865 次 |
| 最近记录: |