Add a with_lock function to ensure commitnumber appends do not interweave.
drwxr-xr-x - client
drwxr-xr-x - scripts
drwxr-xr-x - server
drwxr-xr-x - tests