SVN 405 Method Not Allowed

前端 未结 11 1354
情书的邮戳
情书的邮戳 2021-01-30 12:30

I accidentally deleted a folder in SVN and added it back immediately. I ran into an issue with this and my solution ended up removing the folder completely from my local copy as

11条回答
  •  野的像风
    2021-01-30 12:52

    I just fixed this in my own repository. I'm using TortoiseSVN on Windows, so I'm not sure exactly what commands this translates to on the command line, but here's what I did:

    The problematic folder is called lib, and it was due to be added.

    • First I undid the add, so that SVN was no longer paying attention to it.
    • Then I renamed it (to libs, not that that matters) using the Windows context menu, added it, and committed successfully.
    • Finally I renamed it back to lib using TortoiseSVN's context menu (this is probably important), and committed again.

提交回复
热议问题