P4Python does not check out the file in Perforce
问题 I have following piece of code. I'm trying to check out two files from Perforce and put them in a changelist. But run_add does not check the files out. The only thing I see in Perforce is a empty changelist with no files in it. """ Checks out files from workspace using P4""" files = ['analyse-location.cfg', 'CMakeLists.txt'] p4 = P4() # Connect and disconnect if (p4.connected()): p4.disconnect() p4.port = portp4 p4.user = usernameP4 p4.password = passwordP4 p4.client = clientP4 try: p4