[p4ruby] p4 changelist

Andy Koch andy.koch at pc-doctor.com
Mon Apr 14 15:48:26 PDT 2008


question with new P4ruby,

with the old p4ruby I could get the changelist number for a pending 
changelist by parsing the output property, but now this method is gone

is there a new way to get the changelist number?

Old Way...
changelist_num = params['p4'].output.to_s.split(/\s+/)[1]

-- 
Andy Koch, Web Applications Developer
PC-Doctor, Inc.
9805 Double R Boulevard Suite 301
Reno, NV 89521
775.336.4079
andy.koch at pc-doctor.com

CONFIDENTIALITY
The information contained in this message is confidential. It is 
intended to be read only by the individual or entity to whom it is 
addressed or by an authorized designee. If the reader of this 
message is not the intended recipient, be aware that distribution 
of this message in any form is strictly prohibited. If you have 
received this message in error, please immediately notify the sender 
and destroy any copy of this message.



More information about the p4ruby mailing list