Comparison problem in ClearCase

六月ゝ 毕业季﹏ 提交于 2020-06-28 09:30:49

问题


Problem: Comparison

On Windows, a path can only be approximately 256 characters long, ClearCase will be affected by this limitation.

Known Solution known:

it is a bug of windows that file with very long path cannot be compared & not ClearCase's.

We can only avoid this problem by shortening our path (shorten or label/branch/foldername/filename).

Issue

I cannot shorten them because of several reasons.
So is there anyway that files in ClearCase which exceeds 256 chars can be compared?


回答1:


As mentioned in this technote:

It applies for Windows 95 but the problem still exists with NT/2000/XP/2003.

For Windows Vista/7, the limit is much higher (4096, if memory serves).:
... or not, according to the SF question "Window 256 characters path name limitation".

The usual workaround is to use the windows command subst in order to define an alias for part of the path and attach it to a drive letter.

For example, you can map a network drive to substitute the MVFS drive and view path.
By mapping M:\devuser1_servicing_processflow_integration to Z:\ will cut the path by 42 characters in this example.

Is there any reason you cannot apply that workaround?



来源:https://stackoverflow.com/questions/5582230/comparison-problem-in-clearcase

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