[p4ruby] p4ruby problem acc. to integrate

mkellner at nemetschek.de mkellner at nemetschek.de
Mon Oct 8 06:17:51 PDT 2007



Hi together,

due to the fact that we did upgrade our Perforce server up to 2007.2/133058
I do test now the newer P4Ruby interface:

I have problems according to the integrate command and a moved file. The
corresponding branch spec contains a corresponding line:
p4 branch 2005_LATEST_to_MAIN:

//Allplan/Products/2005/LATEST/Libs_Allplan/Libs_Fertigteile/fertallg/sqattr.cpp

//Allplan/Products/MAIN/NemAll_Data/NemAll_DataFertigteil/FertSource/sqattr.cpp

The revision graph looks like this:
(See attached file: revisiongraph.gif)


On my old machine still having the old toolset everything is ok, which
means //.../2005/...#2 has to be integrated:
P4 Client 2006.1/113344, Ruby 185-21, P4Ruby 1.4841-1.8.0

p4 integrate -i -b 2005_LATEST_to_MAIN -n //Allplan/...
...
//Allplan/Products/MAIN/NemAll_Data/NemAll_DataFertigteil/FertSource/sqattr.cpp#3
 - integrate from
//Allplan/Products/2005/LATEST/Libs_Allplan/Libs_Fertigteile/fertallg/sqattr.cpp#2
...

ruby Test_Integrate.rb
...
//Allplan/Products/MAIN/NemAll_Data/NemAll_DataFertigteil/FertSource/sqattr.cpp#3
 - integrate from
//Allplan/Products/2005/LATEST/Libs_Allplan/Libs_Fertigteile/fertallg/sqattr.cpp#2
...


On my new machine having the new toolset the wrong revision is detected if
p4ruby is used, which means //.../2005/...#1 should be integrated (p4
command line still is ok):
P4 Client 2007.2/133058, Ruby 185-21, P4Ruby 1.5953-1.8.2

p4 integrate -i -b 2005_LATEST_to_MAIN -n //Allplan/...
...
//Allplan/Products/MAIN/NemAll_Data/NemAll_DataFertigteil/FertSource/sqattr.cpp#3
 - sync/integrate from
//Allplan/Products/2005/LATEST/Libs_Allplan/Libs_Fertigteile/fertallg/sqattr.cpp#2
...

ruby  Test_Integrate.rb
...
//Allplan/Products/MAIN/NemAll_Data/NemAll_DataFertigteil/FertSource/sqattr.cpp#3
 - integrate/sync -
//Allplan/Products/2005/LATEST/Libs_Allplan/Libs_Fertigteile/fertallg/sqattr.cpp#1
...


The small ruby script is:
(See attached file: Test_Integrate.rb)


Have I a bug inside the script? Or is there running something wrong inside
p4ruby according to such a moved file? How can I solve the situation?

Thanks in advance.

Regards,
        Martin Kellner


                                                      Configuration Manager
                                                      Team CAD Organisation
                                                ("NE KE_Team_Organisation")

                                               Tel.:   +49-(0)89-92793-1561
                                                Fax:   +49-(0)89-92793-4561
                                            Email:   mkellner at nemetschek.de

                                                 Nemetschek Technology GmbH
                                                        Konrad-Zuse-Platz 1
                                                          D - 81829 München

                                                           Geschäftsführer:
                                                              Ernst Homolka

                                                               Sitz München
                                             Amtsgericht München HRB 147169





**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been 
inspected by an antivirus software.
**********************************************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: revisiongraph.gif
Type: image/gif
Size: 35431 bytes
Desc: not available
URL: <http://maillist.perforce.com/pipermail/p4ruby/attachments/20071008/b03edfc4/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test_Integrate.rb
Type: application/octet-stream
Size: 806 bytes
Desc: not available
URL: <http://maillist.perforce.com/pipermail/p4ruby/attachments/20071008/b03edfc4/attachment-0001.obj>


More information about the p4ruby mailing list