text_file_delta failed create_version operation in

2019-04-02 10:23发布

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条回答
Luminary・发光体
2楼-- · 2019-04-02 11:00

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.

查看更多
登录 后发表回答