| # checks out entire p4 repository |
| os.system('p4 edit //depotGoogle/...') |
| # reverts all unchanged files, this is completely innoculus |
| def revertunchangedfiles(): |
| os.system('p4 revert -a //depotGoogle/...') |
| def integratefile( old_name, new_name): |
| if(old_name == new_name): |
| if(not filemanagement.fileexist(old_name)): |
| integrate_command = 'p4 integrate -o -f ' +\ |
| ' > p4summary.txt 2> error.txt' |
| os.system(integrate_command) |
| delete_command = 'p4 delete -c default ' +\ |
| ' > p4summary.txt 2> error.txt' |
| os.system(delete_command) |