Removed two unused imports and added some printing
Add an option to raise an error after timeout when taking the lock
git_p4_sync now takes a lock on the repo before modifying it
Fixed some lines too long

And a minor coding style change.
Fixed typo in usage of new option err_if_timeout
Minor precisions and code improvements