Provides functions to access and operate on SVN repositories.
Method | Description |
---|---|
createRepositoryLocation() | Creates a new repository location. |
getRemoteLocation() | Get the remote location for a given local resource. |
getRevision() | Get the revision for a given resource. |
importProjectsFromSVN() | Imports project from repository location. |
org.eclipse.team.svn.core.resource.IRepositoryLocation createRepositoryLocation(String rootUrl, [String username], [String password])
Creates a new repository location. If the location already exists the existing location gets returned.
repository location
String getRemoteLocation(Object resource)
Get the remote location for a given local resource.
remote URL for the given resource
long getRevision(Object resource)
Get the revision for a given resource.
revision number
void importProjectsFromSVN(Object rootLocation, [String[] projectLocations])
Imports project from repository location.