P4v command line send changelog

Is it possible to use the command line to send the list of changes created using p4v? Is it possible to open a command prompt in p4v? I have a huge list of changes, and p4v gets stuck when I click on it to select submit, and I want to use the command line or something else to send it. When I talk about a huge list of changes, I mean 170 + GB with over 300 thousand files.

+4
source share
5 answers

You must do this from the dos / terminal window. P4v does not accept command line commands. There is an option to "open a command window" in the "File" menu, but you still have to enter a command.

p4 -c <workspace_name> -u <username> submit -c <changelist#>

(don't use <>) By default, perforce assumes that your workspace name is the name of your computer, so if your workspace is called something else, put it in

+7
source

In the shell (either on the command line or in any terminal window, depending on the OS), a simple p4 submit -c changelist# should be executed. If you performed a typical installation of p4v, the p4 command-line utility was also installed. Otherwise, you should get it from the Perforce website. For a more detailed description, call p4 help submit .

+3
source

Yes, the GUI has an option to print equivalent commands for the message part at the bottom of the screen. I don't have a Perforce client, but if you explore the options, you will probably find it.

0
source

You might want to install the p4 command line client . This is what I use.

0
source

P4V has a very limited command line interface, one of which is the "send the specified file" option, but it allows you to send only one file ... not a changlist.

 p4v -cmd "submit C:\path\to\file" 

I think George posted your best command line option .... p4 submit -c

If you want to know more about P4V commands, there is a blog post (link below) describing the P4V command line interface.

http://blog.perforce.com/blog/?p=1928

0
source

Source: https://habr.com/ru/post/1341638/


All Articles