开发者

WinCVS commit corrupt word files

I commit a MS word file in CVS Server using WinCVS. I selected the add option as Text. whether it should be added as binary format. Now I checked out my files. when i tried to open those files. it says that these files are corrupted and can not open. is there any way to change the format of these files located in CVS-Server or retriev开发者_JS百科e those file as i have no backup on my local machine.


MS Word files are binary files, so it's very possible that CVS corrupted them when adding to the repository.

I'm not familiar with WinCVS but would recommend looking for an option which allows the file type to be changed from "text" to "binary". If you can't find such option then you might try removing the files and then adding them again as binaries (I've seen this reported as working for WinCVS in this thread: http://dbaspot.com/forums/configuration-management/193699-binarys-text.html).

(Alternatively, if you're comfortable using CVS from the command line/DOS prompt then you could use CVS directly: move to the folder with the checked-out files and then do:

cvs admin -kb [file_name]

for each of the problem files.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜