Ambika Sharma
Ambika Sharma

Reputation: 21

Trying to Migrate P4V data to git using P4Python

Here I am trying to migrate my perforce data. The code is below:

from P4 import P4, P4Exception
p4 = P4()
p4.port = "localhost:1666"
p4.user = "xyz"
p4.client = "xyz"
p4.connect()

p4.run("edit", "//Depot/AllFiles/")

Here I need add origin, and the push the files to Git repository using P4Python. Please help me how to do it. I've tried to search every possible way to do it. Or any way I can perform Git P4 operations with python ?

Upvotes: 0

Views: 21

Answers (0)

Related Questions