Merged in some changes from the VSStoP4 scripts:
- allow specification of depot and path within depot
- cope with repository already existing
- cope with multiple concurrent updates to server
- slightly improved error detection
Note this hasn't been tested with a branch configuration.