[p4ruby] p4.run_changes with user yields no results

James Cowlishaw james at cowlibob.co.uk
Thu Apr 26 04:59:58 PDT 2007


My goodness, thank you.
Any ideas why p4.run_changes("-m 5") works as I'd imagine?
James.

On 26/04/07, Robert Cowham <robert at vaccaperna.co.uk> wrote:
>
>  Try passing in an array of parameters (argv style):
>
>     changes = p4.run_changes("-u", "jcowlishaw")
>
> Robert
>
>  ------------------------------
> *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
>
> Hey guys,
> 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")
> while
> 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.
> James.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4ruby/attachments/20070426/1f6b3b8d/attachment-0001.html>


More information about the p4ruby mailing list