[p4ruby] p4.run_changes with user yields no results
robert at vaccaperna.co.uk
Thu Apr 26 04:56:16 PDT 2007
Try passing in an array of parameters (argv style):
changes = p4.run_changes("-u", "jcowlishaw")
From: p4ruby-bounces at perforce.com [mailto:p4ruby-bounces at perforce.com] On
Behalf Of James Cowlishaw
Sent: 26 April 2007 12:24
To: p4ruby at perforce.com
Subject: [p4ruby] p4.run_changes with user yields no results
Being new to this. I'm having troubles with listing change lists.
The following code produces an empty array
changes = p4.run_changes("-u jcowlishaw")
p4 changes -u jcowlishaw
produces a long list.
I know the p4.connect has worked, because
changes = p4.run_changes("-m 5")
produces the last five change lists on the server.
Am I doing something wrong, or is there a server incompatibility (I'm
connecting to a 2006.2/113956 server)?
Thanks in advance for any hints you can give.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the p4ruby