Reputation: 21
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