pristine svn-base file missing

前端 未结 7 1463
野趣味
野趣味 2021-02-07 00:43

I\'m trying to svn update my SVN working copy with TortoiseSVN but the update fails, asking to perform the clean up first.

However, the svn cleanup

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-07 01:19

    This problem:

    cannot find the file .svn\pristine\24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base

    I copied a svn-base from other file and renamed this with 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base. And perform a clean up operation. After that I met another file missing. Using the same way, and at last I fixed this problem.

    From a Windows command line with SilkSVN installed:

    cd project directory
    svn status
    

    This will generate an error. Select and copy the directory and filename text then paste:

    echo > .svn\pristine\
    

    For example:

    echo > 24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base
    

    With this knowledge in hand, it would be reasonably trivial to write a batch file that can fix these problems automatically for everyone. The svn command will generate an %ERRORLEVEL% value that can be checked for failure.

提交回复
热议问题