When you copy a folder or deployment group to another repository, you must acquire locks on the objects in the target repository. If the object locks are not immediately available, by default the deployment operation waits until either you cancel the deployment or the object locks are acquired.
If you use the pmrep command line program to copy folders or deployment groups, you can specify a timeout for the deployment operation. If pmrep does not acquire object locks in the target repository during the timeout period, the deployment fails.