ClearCase中的比较问题 [英] Comparison problem in ClearCase

查看:82
本文介绍了ClearCase中的比较问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows上,路径只能长约256个字符,ClearCase会受到此限制的影响。

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


这是Windows的错误,该文件的路径很长,无法比较&

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

我们只能通过缩短路径(缩短或 label / branch / foldername / filename )来避免此问题。

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


问题


由于某些原因,我无法缩短它们。

还是可以比较ClearCase中超过256个字符的文件?

Issue

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

推荐答案

此技术说明


它适用于Windows 95,但该问题在NT / 2000 / XP / 2003中仍然存在。

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

对于Windows Vista / 7,限制要高得多(如果有内存,则为4096)。:
是否
...根据SF问题 窗口256个字符的路径名限制

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".

通常的解决方法是使用Windows命令 subst 来定义别名

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.


例如,您可以映射网络驱动器以替换MVFS驱动器并查看

通过将 M:\devuser1_servicing_processflow_integration 映射到 Z:\ 会削减在此示例中,以42个字符表示路径。

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?

这篇关于ClearCase中的比较问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆