Changelist Searching

Search through changelists for a pattern

TASK

How do I search for a particular phrase or pattern in submitted changelist descriptions via P4V?

SOLUTION

There is a user contributed Perl script which can be used to find change list descriptions based on a path or file.  By default the script will not let you search broad paths, such as "//depot/..." or "//...", only subdirectories. This is for general performance reasons.  In practice you should always search in the smallest place possible.

Installation and  Use

  1. Get the script and files from our public depot.
  2. Customize p4v_changes_search.pl to reflect the path to your P4 command line client.
  3. Import the tools.txt to P4V
  4. You can right click on a directory or file in P4V and select "Search Changelists".

If after entering your search query in, the results window is empty, it may be because your server is busy.