text_file_delta failed create_version operation in clearcase

天涯浪子 提交于 2019-12-21 06:38:12

问题


Continuing my previous post: Provide version to independent files in clearcase. Now I able to execute clear case import command but with some errors. Following are some errors occurred while import:

clearfsimport: Error: Could not checkin "E:\CC_Work\FromCC\santosh_view57\Temp_TEST\AspNET\Scripts\WebForms\MSAjax\MicrosoftAjax.js".
clearfsimport: Warning: Trouble importing element "E:\CC_Work\FromCC\santosh_view57\Temp_TEST\AspNET\Scripts\WebForms\MSAjax\MicrosoftAjax.js".
Creating element "E:\CC_Work\FromCC\santosh_view57\Temp_TEST\AspNET\Scripts\WebForms\MSAjax\MicrosoftAjaxApplicationServices.js".
Created branch "TEST_TEMP" from "E:\CC_Work\FromCC\santosh_view57\Temp_TEST\AspNET\Scripts\WebForms\MSAjax\MicrosoftAjaxApplicationServices.js" version "\main\0".
clearfsimport: Error: Type manager "text_file_delta" failed create_version operation.

Following is my import command:

clearfsimport -rec -nset -comment "Commit test" F:\abc\ASPNET* E:\CC_Work\FromCC\santosh_view57\Temp_TEST\ASPNET

And config spec is following:

element * CHECKEDOUT

element * .../TEST_TEMP/LATEST

element * /main/LATEST -mkbranch TEST_TEMP

element * /main/LATEST

load \Temp_TEST

Same file is able to check out and check in using "ClearCase Expoler" GUI.


回答1:


You might need to change the type manager associated to js files, as their content could not always be compatible with what a text_file_delta manager expects.

See "Type manager text_file_delta failed create_version operation" for concrete examples.

This technote lists the limitations which makes a text file fail:

  • Type manager size limitation - File too large
  • Text files that contain binary data - Contains a '\000'
  • Line exceeding 8000 bytes
  • Corrupt source container - not the highest on its branch

I have seen issue with the first 3.

If you have to change its type, see this technote.



来源:https://stackoverflow.com/questions/29514335/text-file-delta-failed-create-version-operation-in-clearcase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!