我正在尝试将 p4python 的 run_reconcile() 与我从 fetch_change() 获得的更改列表结合使用。代码是这样的:
p4con.client = 'clientName'
p4con.cwd = '//' + location
changeList = p4con.fetch_change()
# update some changeList info, but not _files
clNum = p4con.save_change(changeList)[0].split()[1]
result = p4con.run_reconcile('-c', clNum, '-e', '-a', '-d')
p4con.run_submit(changeList)
但是,我收到错误:
P4Exception: [P4#run] Errors during command execution( "p4 submit -i" )
[Error]: 'No files to submit.'