Jump to content


How do I get rid of no-longer valid drop-menu entries?


  • Please log in to reply
2 replies to this topic

#1 BJS

BJS

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 September 2019 - 08:09 AM

In the Merge/Integrate dialog of P4V and "Use branch mapping" I have a drop-down for the various previously used Branch mappings.
However, not all of those entries still exist, as some branch-mappings were deleted from Perforce.
Nevertheless, they are still listed in the drop-menu.

How can I clean-out these obsolete entries?

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 947 posts

Posted 30 September 2019 - 03:54 PM

Deleting your .p4qt directory will erase all of P4V's settings, so that'd probably do the trick for that dropdown; just be advised that if you delete the whole directory it'll delete your connection history, etc.  You could also go into the XML files and try to edit out the specific entries if you wanted to be more surgical about it.  :)

#3 BJS

BJS

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 01 October 2019 - 02:52 PM

Thanks Sambwise. I was hoping for an a bit more user friendly way, but at least I can do it that way.
With your hints, i quickly figured out the details. The file to edit is

C:\Users\USERNAME\.p4qt\0001Clients\WorkspaceSettings.xml

With the XML section in red to be deleted:

<PropertyList IsManaged="TRUE" varName="Integrate">
<StringList varName="BranchViews">

<String>BranchMapName_1</String>
<String>BranchMapName_2</String>
<String>BranchMapName_unwanted</String>
<String>BranchMapName_3</String>
</StringList>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users