how to display list of updating files in p4v - perforce

While I sync code using p4v client, the Log window does not show the list of files which are updated. Is there any way to do that? p4win client does show the list though.
Thank you.

Go to "Edit>>Preferences" menu. On the "General" tab under the "Log options" section, check "Show p4 command output for file operations".

#Almo
For newer version
Edit->Preference->Logging
in right panel under "Log Pane Options", check "Show p4 command output for file operations"

Edit->Preference->Logging in right panel under "Log Pane Options", check "Show p4 command output for file operations"

Related

Is there any way to see cstat in P4V?

I just wonder if the UI (P4V) can provide the information from this command?
https://community.perforce.com/s/article/3458
Thanks for anything
P4V used this feature at one point for a "workspace overview" tab that showed, among other things, what changelist you were synced to, but that no longer exists AFAIK. You can, however, run cstat from a "custom tool" and see its output in the log pane.

Start perforce checkout from command line

I try to achieve a checkout from command line by using perforce helix.
It works with p4 edit.
But what i want is to open the regular window when you right click on files and click "checkout".
p4vc can open many window but what is the argument for this checkout window ?
Thank you.
The window you're talking about is just P4V; there's no stand-alone dialog for that.

p4v cannot see the default tree in pending tab

I am new to P4V (perforce) while working with this, i cannot see the default folder in pending tab as i cannt drag any files for editing.
Thanks
Have you created a workspace? Open workspaces tab > right click.
Also make sure your connection is set up properly.

How do I display a particular changelist number in p4v?

When viewing submitted changelists in p4v, is there a way to display a particular changelist number? That is, how I do the equivalent of p4 describe in p4v? Can I filter for a particular changelist number? I don't see how.
Search > Go To...
In the dialog, you can go to a submitted changelist by number.
In my version of P4, this is under Edit > Go To...
And of course for the keyboard freaks ("mouse? I don't need no mouse") you can hit CTRL + G.
Hi All,
It I used CTRL + G and then I was prmopted to provide the change list number.
Please note you have to select the options from Scroll down Menu.
In this case it is:
Submitted Change List
Pending change list
Branch Mapping
Label
Workspace
User
Job
Like Eric, I use Edit > Go To...
Optionally, in the History pane on the left side of the window, you can double click on a changelist in the list and it'll open the details for just that changelist in a new window (same window you'll see with Edit > Go To...).
Note for this, in the newest version of P4V, the "Pending" and "Submitted" change types are combined in the goto dialog. Now there is just "Changelist" and it figures out which one it is by the number you enter.
Also we can view # tab "Search" -> Go To.. in newer versions of P4V. AS mentioned above or "Ctlr+G "

How to delete a workspace in Perforce (using p4v)?

I'm new to Perforce and have created a few workspaces as exercises for getting familiar with it. Now I would like to delete some of the workspaces. I just want to get rid of the workspaces so that they do not appear on the drop-down in the workspaces view (do not want to do anything with actual depot files).
Googling up an answer yields the suggestion to "make the workspace active" (I guess that means select it in the workspace dropdown?) and then delete it from the "edit" menu. Unfortunately, the delete option is grayed-out when I try this.
Anyone know how to do this, or do I just have to live with junk workspaces? I've physically deleted one of them from the disk, and it still appears in the workspace drop down, and I can't even synchronise it with the depot now, so I guess that's not how to do it.
From the "View" menu, select "Workspaces". You'll see all of the workspaces you've created. Select the workspaces you want to delete and click "Edit" -> "Delete Workspace", or right-click and select "Delete Workspace". If the workspace is "locked" to prevent changes, you'll get an error message.
To unlock the workspace, click "Edit" (or right-click and click "Edit Workspace") to pull up the workspace editor, uncheck the "locked" checkbox, and save your changes. You can delete the workspace once it's unlocked.
In my experience, the workspace will continue to be shown in the drop-down list until you click on it, at which point p4v will figure out you've deleted it and remove it from the list.
It could also be done without a visual client with the following small script.
$ cat ~/bin/pdel
#!/bin/sh
#Todo: add error handling
( p4 -c $1 client -o | perl -pne 's/\blocked\s//' | p4 -c $1 client -i ) && p4 client -d $1
In P4V click View > Workspaces
If the workspace to be deleted is not visible in the list you may have to uncheck the box Show only workspaces available for use on this computer
Right-click the workspace to be deleted and choose Edit Workspace 'My_workspace'
On the Advanced tab uncheck the box Locked: only the owner can edit workspace settings > then click OK
Now back on the Workspaces tab of Perforce right-click the workspace to be deleted and choose Delete Workspace 'My_workspace'
P4V should remove the item from the drop-down list when clicking on it.
There is a case where a previously deleted workspace remains in the drop-down list, and P4V displays the following error:
P4V Workspace Switch Error. This workspace cannot be used on this computer either because the host field does not match your computer name or the workspace root cannot be used on this computer.
If this error occurs, the workspace(possibly on another host) may have only been unloaded. Click the P4V Workspaces Recycle bin
In the resulting Unloaded Workspaces window right-click the offending workspace and choose Delete Workspace 'My_workspace'. P4V should now remove the workspace item from the drop-down list.
If you have successfully deleted from workspace tab but still it is showing in drop down menu. Then also you can successfully remove that by following these steps:
Go to C:/Users/user_name/.p4qt
user_name will be your username of your computer
Inside 001Clients folder WorkspaceSettings.xml file will be there.
There will be two tag
varName = "RecentlyUsedWorkspaces" remove the deleted workspace tag
A propertyList tag will be there with varName=deleted_workspace_name
delete that tag.
from drop down menu workspace name will be deleted
Ctrl + 5
Delete the relevant workspace

Resources