如何从 Perforce P4V 清除最近的连接列表? [英] How can I clear the list of recent connections from Perforce P4V?

查看:63
本文介绍了如何从 Perforce P4V 清除最近的连接列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Perforce P4V 在连接 -> 最近连接"菜单下保留最近连接列表.我们已将 Perforce depot 文件移动到不同的服务器,所以我仍然列出了旧的连接,但是当它被选中时,它会因为无法连接而出错.有没有办法清除这些旧连接?

Perforce P4V keeps a list of recent connections under the menu 'Connections -> Recent Connections'. We have moved our Perforce depot files to a different server so I still have the old connection listed but when it is selected it errors as it can't connect. Is there a way to clear these old connections?

我使用的是 Perforce Visual Client/NTX86/2010.1/271261.

I am using Perforce Visual Client/NTX86/2010.1/271261.

推荐答案

您使用的是 Linux/Unix 吗?如果是这样,您的主目录中有一个 .p4qt/ 目录.如果是 Windows,我相信你也有类似的情况.

Are you in Linux/Unix? If so, in your home directory is a .p4qt/ directory. If Windows, I'm sure you have something similar.

您应该有一个名为 appsettings.xmlApplicationSettings.xml 的文件.它应该是这样的:

You should have a file called appsettings.xml or ApplicationSettings.xml. It should have something like this:

 </PropertyList>
 <StringList varName="Recent Connections">
 <String>server:1666, bob, bob_workspace</String>
 <String>server:1666, steve, steve_ws</String>
 <String>server:1666, joe, joe_workspace</String>
 </StringList>

请注意,我不懂 XML,但您应该能够将其从文件中清除.或者,如果您不介意重置某些首选项,您可以删除此文件并重新创建它.

Please note, I do not know XML, but you should be able to clear this out of your file. Or, you can delete this file and have it be recreated if you don't mind some preferences being reset.

这篇关于如何从 Perforce P4V 清除最近的连接列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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