SVN Endless Loop - [file] “does not exist in repository”

前端 未结 3 1662
予麋鹿
予麋鹿 2021-02-18 23:08

This has been plaguing me for a week.

SVN keeps telling me that a certain file \"does not exist in repository\".

Fine. Let\'s just delete it. Forg

3条回答
  •  不思量自难忘°
    2021-02-18 23:12

    It seems most likely that you have corrupted your local working copy, e.g. by moving folders or some other manipulation that you did with windows explorer but should have done through the TortoiseSVN context menu. The information inside the .svn folders now no longer matches the state of the working copy, which is confusing Subversion.

    To fix this, delete the parent folder ("Originals") in your working copy with windows explorer (NOT with TortoiseSVN). Then do a TortoiseSVN "update" at the root of your working copy. This should restore the folder in working order.

    Another option is to discard your working copy entirely and do a fresh checkout.

    Note that the next release of Subversion (1.7) will reduce the opportunities for corrupting your working copy by centralizing all metadata in a single .svn folder at the root.

提交回复
热议问题