[p4ruby] p4ruby problem acc. to integrate

Tony Smith tony at smee.org
Wed Oct 10 05:42:32 PDT 2007


Hi Martin,

> you are right according to
>       x[ 'startFromRev' ] + 1
>
> On the old environment with P4 2006.1 I did use
> p4ruby-1.4841-1.8.0-setup.exe together with ruby185-21.exe.
> Is there a possibility to see the P4Ruby revision by looking into P4.rb or
> something else?

Yes, you can call P4.identify() to get a string identifying the P4Ruby build. 
For example:

	ruby -r P4 -e 'puts P4.identify'

> You are right, I get the strings instead of the hashes, even if I thought I
> first had the hashes and only sometimes (error case: can't branch from) the
> strings...

Excellent - glad we got to the bottom of it.

> Thanks a lot for your help.

You're welcome!

Tony



More information about the p4ruby mailing list