Perforce integrate using p4 module

Chris Hulan chris.hulan at gmail.com
Fri Oct 22 15:30:18 CEST 2010


On Oct 21, 2:57 pm, Eric_NYRelEng <atiqul.is... at gmail.com> wrote:
> 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.

I think the command is 'integrate', the docs don't mention 'integ'



More information about the Python-list mailing list