I'm trying to use p4python's run_reconcile() combined with a changelist I have from fetch_change(). The code is something like this:
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)
However, I get the error:
P4Exception: [P4#run] Errors during command execution( "p4 submit -i" )
[Error]: 'No files to submit.'