Your browser may have trouble rendering this page. See supported browsers for more information.

|<<>>|29 of 30 Show listMobile Mode

Deleting Recent Connections in P4V (Perforce Client)

Published by marco on

The Perforce P4V client has a list of recent connections under the “Connection” menu. This is especially nice when you use more than one workspace or more than one server. However, if you select the wrong workspace, it stores that copy too and there doesn’t seem to be any way of editing the list from the UI. That means your recent connections list gets crowded with entries you don’t want—and which may fail with a long timeout when selected.

You can’t remove entries from this list through the UI, but you can remove them directly from your Perforce settings:

  1. Quit P4V to make sure it has saved all recent settings.
  2. Browse to C:\Documents and Settings\<username>\.p4qt.
  3. There should be two files for each connection, a .ws file and a .ws.ui file. These files are numbered, but their order doesn’t correspond to the order in the menu.
  4. Open the .ws file in a text editor (e.g. drag it to an open Notepad) to check to which workspace/server combination it corresponds.
  5. Delete the pair of files (.ws and .ws.ui) for the recent connections you no longer want. Though the files are numbered, you do not need to renumber them as Perforce simply reads all files in the directory.
  6. Re-open Perforce and verify that the connections are gone.