Lock ReplicateRepository to 1 operation at a time
when ReplicateRepository starts, try to open replication.lock so that no two ReplicateRepository processes can execute on the same repository.
fixes: #2437 (closed)
when ReplicateRepository starts, try to open replication.lock so that no two ReplicateRepository processes can execute on the same repository.
fixes: #2437 (closed)