p4v command line submit changelist

Mircea Ispas picture Mircea Ispas · Feb 28, 2011 · Viewed 7.6k times · Source

Is there any way to use command line to submit a changelist already created with p4v? May I open command line in p4v? I have a huge changelist and p4v gets stuck when I right click on it to chose submit and I want to use command line or something else to submit it. When I say huge changelist I mean 170+ GB with more 300k files.

Answer

aflat picture aflat · Feb 28, 2011

You have to do it from a dos/terminal window. P4v doesn't accept command line commands. There is an option to "open command window here" in the File menu, but you still have to type in the command.

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

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