Reputation: 23
Here is my command but i'm only syncing one file. Can I seperate them by comma or is there a better way
syncCommand = ["p4", "-c", workspace_name, "sync", "//depot/proj1/...File1.cfg "]
For example :
def pullfile():
syncCommand = ["p4", "-c", workspace_name, "sync", "//depot/proj1/...File1.cfg, File2.cfg "]
Upvotes: 2
Views: 487
Reputation: 71454
The sync command accepts multiple file arguments:
def pullfile(): syncCommand = ["p4", "-c", workspace_name, "sync", "//depot/proj1/...File1.cfg", "//depot/proj1/...File2.cfg"]
Upvotes: 1