Provides functions to access and operate on SVN repositories through.
Method | Description |
---|---|
createRepositoryLocation() | Creates repository location. |
getRevision() | Get the revision for a given resource. |
importProjectFromSVN() | Imports project from repository location. |
importProjectsFromSVN() | Import all projects from a repository location. |
org.eclipse.team.svn.core.resource.IRepositoryLocation createRepositoryLocation(String rootUrl, [String username], [String password])
Creates repository location. Creates repository location with rootUrl, if location already exists: return existing location
repository location which is created, or the existing repository location
long getRevision(Object resource)
Get the revision for a given resource.
revision number
void importProjectFromSVN(Object rootLocation, String projectLocations)
Imports project from repository location.
void importProjectsFromSVN(Object rootLocation)
Import all projects from a repository location. It scans the location and all projects found are imported.