Perforce integrate using p4 module

Eric_NYRelEng atiqul.islam at gmail.com
Thu Oct 21 20:57:07 CEST 2010


Does anyone have any example with perforce integrate command? Please
help

—Code Snippet—
import P4
##set p4.port, p4.client

p4c = P4.P4()
p4c.connect()
view = “//depot/meta/project/frombranch/...//depot/meta/project/
tobranch/..."
p4c.run(“integ –n”,view)

—Getting—

  return P4API.P4Adapter.run(self, *self.__flatten(args))
P4.P4Exception: [P4#run] Errors during command execution( "p4 integ -
n //depot/meta/project/frombranch/...//depot/meta/project/
tobranch/..." )

        [Error]: Unknown command.  Try 'p4 help' for info.



More information about the Python-list mailing list