Jump to content

Deleting a Connection

delete connection

  • Please log in to reply
1 reply to this topic

#1 rsam_1990



  • Members
  • Pip
  • 1 posts

Posted 05 November 2013 - 04:04 PM

I have incorrectly added a connection using P4V and cannot find the option to remove/delete it. Windows 7 64bit client.

Searched the forum for How to delete a connection, did not find anything.

#2 P4GabeW


    Advanced Member

  • Members
  • PipPipPip
  • 62 posts

Posted 06 November 2013 - 06:37 PM

Are we talking about from the connection dialog you added a connection that now shows up in the recent connections, or you've got a workspace showing up over the depot/workspace tree that you want to get rid of?

Currently the only way to do either is to alter the preference files. Be sure P4V isn't open when you do this.

Go to your preference directory (on windows it's C:\Users\<username>\.p4qt\)

If it's the workspace name in the dropdown over the depot/workspace tree:

In there, there's a connectionMap.xml file. That will guide you to which connection directory you need. In there, you'll see the port/user combo that you want, and it'll point you at one of the workspace setting directories (it'll say something like 0001, the corresponding directory would then be 0001Clients). Inside that directory, there's a file, WorkspaceSettings.xml. In that XML file there's a Property list that doesn't have a varName, but contains a StringList with the varName "RecentlyUsedWorkspaces". You should see the bad workspace name in there. Delete it and it'll disappear from the list.

If it's the connections dropdown from the connection dialog:
In the .p4qt directory, ApplicationSettings.xml
There's a propertyList with the varName="Connection", stringlist varName="RecentConnections". Remove the <String></String> line that corresponds to the connection you want to get rid of.

Also tagged with one or more of these keywords: delete, connection

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users