[英]perforce shorter client directory structure
This is a very basic query, but I am using perforce to create a workspace for a particular project that is deep in the depot directory. 这是一个非常基本的查询,但是我正在使用perforce为仓库目录中深处的特定项目创建工作区。 Hence, on windows I am facing a warning as to "File name ... exceeds the limit of 260 characters" I am trying to search a way to limit the folder structure to something just like : "C:\\p4\\dept.. " without the long list of folders.
因此,在Windows上,我面临“文件名...超过260个字符的限制”的警告,我正在尝试寻找一种将文件夹结构限制为类似于“ C:\\ p4 \\ dept。”的方法。 ”,而不包含一长串的文件夹。 Is there an easy way to do this?
是否有捷径可寻? I have come across following similar solution on : [ http://answers.perforce.com/articles/KB/3051?startURL=%2Farticles%2FKB_Article%2FSubmitting-or-Syncing-Files-with-Long-Path-Names][1]
我在以下网址上遇到了以下类似的解决方案:[ http://answers.perforce.com/articles/KB/3051?startURL=%2Farticles%2FKB_Article%2FSubmitting-or-Syncing-Files-with-Long-Path-Names] [ 1]
But, cannot find out the command execution. 但是,无法找出命令执行。 Is there a better, easier way to do this ?
有没有更好,更简单的方法来做到这一点?
The local paths (which exceed 260 chars in your case) are composed by concatenating 本地路径(在您的情况下超过260个字符)是由串联组成的
To shorten the two, open Connection > Edit Current Workspace in P4V. 要缩短两者,请在P4V中打开“连接”>“编辑当前工作区”。 Then
然后
C:\\p4
) C:\\p4
) //foo/some/relative/path/to/bar
, where foo
is your Workspace name . //foo/some/relative/path/to/bar
,其中foo
是您的工作区名称 。 Shorten it to something like //foo/bar
. //foo/bar
类的东西。 This should produce much shorter local paths. 这将产生更短的本地路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.