public class RepoToRepoSync extends Object
Constructor and Description |
---|
RepoToRepoSync(File localRoot,
URL remoteRoot)
Create an instance.
|
public RepoToRepoSync(File localRoot, URL remoteRoot)
localRoot
- the root of the local repository or any file/directory inside it. This is
automatically adjusted to fit the connection-point to the remote repository (the remote
repository might be connected to a sub-directory).remoteRoot
- the root of the remote repository. This must exactly match the connection point.
If a sub-directory of the remote repository is connected to the local repository, this sub-directory
must be referenced here.public void sync(ProgressMonitor monitor)
public void close()
Copyright © 2013-2014. All Rights Reserved.