| com.atlassian.bitbucket.scm.mirror.PluginMirrorCommandFactory | 
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Applies the provided  ref changesin the repository. | |||||||||||
| repository | the repository to be synchronized | 
|---|---|
| parameters | describes where to synchronize from | 
| callback | callback to process synchronization results | 
Applies the provided ref changes in the repository. If one
 or more of the updates cannot be performed (e.g. the toHash does not exist in the repository or the fromHash
 does not match the current value in the repository), the command will apply all ref updates that can be safely
 applied, then throw an exception.
| repository | the repository | 
|---|---|
| parameters | describes what ref changes to apply |