p4v does not show the complete list of checked out

2020-07-03 05:14发布

问题:

If I checkout 4000 files in p4v it does not show me the complete list of files in the default changelist. It just says 4000 files checked out. Is there any way that I can view the complete list of 4000 files?

回答1:

Open the preferences dialog via the Edit->Preferences menu. Click on "Server Data" and you'll see a setting labeled "Maximum number of files displayed per changelist*:" Raise that to 4000+ and you should see all those files.



回答2:

I don't know if it is possible in p4v. In a command line shell however you could use

p4 opened -c default > list_of_files

and examine the list with your favorite viewer.

To mass change filetypes from the command line you can use:

p4 edit -t text <filepattern>

or

p4 -x list_of_file_to_change edit -t text

To change all files of the default change list to filetype text you would use (UNIX/Linux)

p4 opened -c default | sed 's/#.*//' | p4 -x - reopen -t text


回答3:

You can always capture output of p4 fstat ... and find the status of the files you are interested in. Or, better yet, use p4 fstat with the relative path to your files. Do you really want to manually go through the huge file list when you have tools do filter them for you?



标签: perforce p4v