“协调离线工作";在Perforce中对我不起作用 [英] "Reconcile Offline Work" in Perforce doesn't work for me

查看:119
本文介绍了“协调离线工作";在Perforce中对我不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在用于32-bin Windows的Perforce Visual Client的2009.1版本中,协调脱机工作"选项会做一些奇怪的事情.在应该显示本地文件不在仓库中"的中间框,我什么也没得到.我看到的是,我第一次协调文件夹时,好像perforce用本地文件不在仓库中"填充了该框,因为列表在我眼前快速闪烁.然后突然,列表迅速消失在空气中,我留下了一个空列表.有谁知道我如何获得此功能,以向我显示我尚未添加的文件?似乎修改文件"和工作区中缺少软件仓库文件"功能可以正常工作.

In the 2009.1 version of Perforce Visual Client for 32-bin Windows, the "Reconcile Offline Work" option does weird things. In the middle box where the "Local files not in depot" should be displayed, I never get anything. What I do see is that the first time I reconcile a folder, it looks like perforce is filling the box with the "local files not in depot" because a list flashes quickly before my eyes. Then all of a sudden, the list quickly disappears into thin air and I'm left with an empty list. Does anyone know how I can get this feature to show me the files that I have not yet added? It seems like the "Modified files" and "Depot files missing from workspace" features work fine.

此外,作为一个旁注,协调脱机工作"在2009 Beta版中似乎可以正常工作.

Also, as a side note, "Reconcile Offline Work" seemed to work fine in the 2009 beta version.

推荐答案

我遇到了完全相同的问题.

I had exactly the same problem.

对我来说,解决方案晦涩难懂,但却是微不足道的.

The solution for me was obscure but trivial.

我只是将客户端工作区的根目录从"C:\ depot"更改为"c:\ depot".

I simply changed the root directory of my client workspace from "C:\depot" to "c:\depot".

是的,没错,我所做的只是将驱动器号从大写更改为小写.而且,是的,我验证了将驱动器号改回大写会再次破坏它,并且再次将驱动器号改回小写会对其进行修复.因此,这不仅仅是巧合.

Yes, that's right, all I did was to change the drive letter from uppercase to lowercase. And, yes, I verified that changing the drive letter back to uppercase breaks it again and that changing the drive letter back to lowercase again fixes it again. So, this is not just a coincidence.

几乎可以肯定,这是Perforce协调功能中的错误.

This is almost certainly a bug in the Perforce reconcile feature.

如果仔细查看协调路径,即使指定了大写驱动器号,它们全都以小写驱动器号出现,因此我猜测匹配算法只是在文件路径上进行了区分大小写的比较.这适用于除驱动器号以外的所有内容.他们的文件列表器可能始终将驱动器号设置为小写,因此客户端工作空间根目录上的大写驱动器号将永远不匹配.

If you look closely at the reconcile paths, they all appear with a lowercase drive letter, even if you specify an uppercase drive letter, so my guess is that the matching algorithm is simply doing a case-sensitive comparison on the file paths. This is appropriate for everything but the drive letter. Their file lister probably always sets the drive letter to lowercase, so an uppercase drive letter on your client workspace root will never match.

这篇关于“协调离线工作";在Perforce中对我不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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