Deleting a folder from svn repository

后端 未结 3 1870
自闭症患者
自闭症患者 2020-12-13 00:06

I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very

相关标签:
3条回答
  • 2020-12-13 00:17

    You can use 2 step delete and commit for this as well. No need to use repository URL.

    svn delete filename1 filename2 forldername1 
    svn commit -m "[Message] Unwanted files and folder."
    
    0 讨论(0)
  • 2020-12-13 00:33

    Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).

    Try this:

    svn delete http://www.yourrepository.com/svn/folder --message "Deleting"
    
    0 讨论(0)
  • 2020-12-13 00:36

    To avoid similar messages in the future, add something like export SVN_EDITOR="/usr/bin/vim" to your .bash_profile (or something similar for your Mac :))

    0 讨论(0)
提交回复
热议问题