8 messages in com.perforce.perforce-user[p4] p4 submit question
FromSent OnAttachments
Rick Macdonald21 Oct 1999 18:51 
Dave Lewis21 Oct 1999 19:09 
Nick Barnes22 Oct 1999 02:12 
Dave Foglesong22 Oct 1999 08:44 
Dave Foglesong22 Oct 1999 11:45 
Greg Spencer22 Oct 1999 12:27 
Fredric22 Oct 1999 12:49 
Scott Blachowicz22 Oct 1999 13:26 
Subject:[p4] p4 submit question
From:Rick Macdonald (ric@vsl.com)
Date:10/21/1999 06:51:02 PM
List:com.perforce.perforce-user

On Thu, 21 Oct 1999, Steve Cogorno wrote:

The behavior of P4 submit is quite perplexing. Why can't I include more than one file spec on the command line? Often I want to do something like this:

p4 submit //depot/{tree1,tree2}/foo/bar

The shell expands this into

p4 submit //depot/tree1/foo/bar //depot/tree2/foo/bar

Of course this is rejected because submit only takes a single argument.

"p4 help submit" indicates that a filespec can go on the command line, but I think it has to be a p4 filespec, quoted from the shell expansion if necessary. For example: p4 submit //depot/tree.../foo/bar

...RickM...