"Could not read status line" error when trying to commit locked file
I'm using svn locking for the first time. I can lock and unlock files, but I get an error if I try to commit a file that's locked:
$ svn lock report.docx
'report.docx' locked by user 'lorin'.
Ed开发者_StackOverflowit, edit, edit...
$ svn st
M K report.docx
$ svn commit -m "Edited the introduction"
Sending myproject/report.docx
svn: Commit failed (details follow):
svn: CHECKOUT of '/reports/!svn/ver/6049/myproject/report.docx': Could not read status line: Secure connection truncated (https://www.example.com)
If I unlock the file, then I can commit.
It looks like you are using Locking correctly (at least according to the docs). I would question why you are doing that with SVN, but that's not your question. ;)
Have you checked out this SO thread that had a similar error?
Please be informed that the Subversion lock and unlock commands do not work properly in an environment where replication is being used. Subversion does not currently provide a means for replicating locks between repositories, or even via repository dump files. Consequently, locks are all stored in the master repository and they do not exist on the replicated repositories.
Visit the following link to read more about this
https://ctf.open.collab.net/sf/wiki/do/viewPage/projects.svnedge/wiki/Replication#section-Replication-NoSupportForSvnLockUnlock
精彩评论