svn commit problem, Cannot read 'd:\UC\db\txn-current': End of file found

后端 未结 3 512
灰色年华
灰色年华 2021-02-11 09:51

I have a problem commiting to svn server, Here\'s what I got,

File Can\'t read \'D:\\SVNROOT\\UC\\db\\txn-current\'.: End of file found

相关标签:
3条回答
  • 2021-02-11 10:23

    db\txn-current is a file in the repository data on the server which should contain the current revision number if you open it with a text editor.

    If this is not the case (as the error message seems to indicate), then you should first try to run svnadmin recover D:\SVNROOT\UC\ on the server.

    You should also run svnadmin verify D:\SVNROOT\UC\ to check if there are any other problems with the repository.

    0 讨论(0)
  • 2021-02-11 10:28

    Try to do a clean work dir and also delete any lock file in .svn dir in work directory

    Also, make sure the permissions on the repository directory are proper

    0 讨论(0)
  • 2021-02-11 10:33

    In my case, repository_path/db/current was blank.

    I just write latest revision number in current file and run recovery command.

    I.e.,

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