[p4] Often requested feature available in the 2006.2 beta

Russell C. Jackson rusty at rcjacksonconsulting.com
Wed Nov 22 15:30:35 PST 2006


Is there some special situation going on where creating a change form is 
difficult?

Thanks,
Rusty

--------------------------------------------------
RCJackson Consulting
Perforce Consulting Partner and Certified Trainer
--------------------------------------------------
rusty at rcjacksonconsulting.com
http://www.rcjacksonconsulting.com
tel:      479-696-9710
fax:      479-967-0963
mobile:   479-747-3845
--------------------------------------------------




Jeff Grills wrote:
> Precreating a valid change form is exactly what we're trying to avoid with
> the new -d option to submit.
>
> I don't yet have a 2006.2 server installed to test it out, but I wonder if
> you could use "p4 submit -d" in a manner in which you know the changelist
> submission would fail in order to create a numbered changelist.  Perhaps try
> submitting a changelist with no files:
>
> 	p4 submit -d "This is my description" //nosuchfile
>
> j
>
>   
>> -----Original Message-----
>> From: Russell C. Jackson [mailto:rusty at rcjacksonconsulting.com] 
>> Sent: Wednesday, November 22, 2006 10:47 AM
>> To: Weintraub, David
>> Cc: jgrills at junctionpoint.com; perforce-user at perforce.com
>> Subject: Re: [p4] Often requested feature available in the 2006.2 beta
>>
>> You can do that already. Just create the change form ahead of 
>> time with the description already in it. Then run:
>>
>> p4 change -i < change_form.txt
>>
>> After that, the rest of your commands are the same.
>>
>> Thanks,
>> Rusty
>>
>> --------------------------------------------------
>> RCJackson Consulting
>> Perforce Consulting Partner and Certified Trainer
>> --------------------------------------------------
>> rusty at rcjacksonconsulting.com
>> http://www.rcjacksonconsulting.com
>> tel:      479-696-9710
>> fax:      479-967-0963
>> mobile:   479-747-3845
>> --------------------------------------------------
>>
>>
>>
>>
>> Weintraub, David wrote:
>>     
>>> Out of curiosity, did they do the same for the "p4 change" command? 
>>> That way, you could also submit from a non-default 
>>>       
>> changelist without 
>>     
>>> ever bringing up a form:
>>>
>>>     $ p4 change -d "Description of my changelist"
>>>     Change 13349 created 
>>>     $ p4 edit -c 13349 foo.cpp
>>>     $ p4 reedit -c 13349 bar.cpp
>>>     $ p4 submit -c 13349    #Always worked w/o bringing up a form
>>>
>>>
>>> -----Original Message-----
>>> From: perforce-user-bounces at perforce.com
>>> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Jeff Grills
>>> Sent: Tuesday, November 21, 2006 3:45 PM
>>> To: perforce-user at perforce.com
>>> Subject: [p4] Often requested feature available in the 2006.2 beta
>>>
>>> >From the 2006.2 beta release notes:
>>> 	#106450 **
>>>
>>> 	    'p4 submit' now sports a '-d description' option.  
>>>       
>> This allows
>>     
>>> 	    the user to submit files without the need for a changelist
>>>
>>> 	    dialog.  See 'p4 help submit'.  (Bug #258).
>>> I thought you all would want to know.  And look at that low 
>>>       
>> bug number 
>>     
>>> associated with the change, too!
>>>  
>>> j
>>>       
>
>
>
>
>   



More information about the perforce-user mailing list