Can't open .svn/text-base/file.svn-base?

前端 未结 12 1886
长发绾君心
长发绾君心 2020-12-13 08:17

I\'m using TortoiseSVN. I just made quite a few changes to my working copy and now I went to do a commit some of the files went through but at one file named Search.aspx.cs

相关标签:
12条回答
  • 2020-12-13 08:43

    I just checked back in here because my TSVN just triggered the same error.

    In my case a simple 'clean up' on the corresponding directories helped.

    0 讨论(0)
  • 2020-12-13 08:46

    Hi i meet similar problem today.

    cannot find the file .svn\pristine\24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base And i use the simple way to fix this problem.

    First i delete the copy folder of this project And then i look up this file did not exist under that folder.so i just copy a svn-base from other file and rename this with 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base.And then do the clean up operation. After that i meet another file missing.using the same way and at last i fix this problem. Hope it can help you

    in other words the solution is create a new svn-base file with the missing files name

    0 讨论(0)
  • 2020-12-13 08:50

    Batch solution for this awfull issue.

    for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *.svn') do ( 
       if not exist %%i\text-base ( 
           mkdir "%%i\text-base"
       ) else (
    echo already exist "%%i\text-base" 
       ) 
    )
    
    0 讨论(0)
  • 2020-12-13 08:51

    You can copy working file: C:-----\trunk\Search.aspx.cs

    to the missing one: C:-----\trunk.svn\text-base\Search.aspx.cs.svn-base

    and it will do the trick.

    0 讨论(0)
  • 2020-12-13 08:52

    It looks like your working copy is corrupted - the SVN base file for Search.aspx.cs is missing.

    What I do in a situation like this to do a separate check-out in another directory to make a new working copy on the base, export my modified working copy, and copy the export over the new working copy.

    0 讨论(0)
  • 2020-12-13 08:53

    Posting this for those who have the same problem where it`s not related to the same filename in different capitalization/case:

    I`m not sure what causes it, but this fix worked for me:

    • checkout the section in question to a new temp location
    • back up (in case this fails) and delete the .svn folder in your main location
    • replace the .svn folder in your main location with the one from the temp location
    • commit

    This worked for me. I had only one file changed. Somehow the .svn folder became corrupt. Please back up your work before doing this.

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