mapFullPath
@NotNull
public Collection<String> mapFullPath(@NotNull
VcsRootEntry rootEntry,
@NotNull
String fullPath)
throws VcsException
Converts full path to path (or collection of paths) relative in relation to provided VCS root.
Path should not be mapped by checkout rules, this will be done by an upper level code.
Returns a collection, because for some VCS, the source fullPath can be mapped to several target paths.
For instance, this is a case for Subversion.
- Specified by:
mapFullPath
in interface VcsPersonalSupport
- Parameters:
rootEntry
- VCS root and checkout rules
fullPath
- change path from IDE patch in VCS-specific format.
For SVN, it is repositoryUUID|relativePathUnderRepositoryRoot
For Git, firstMonthRevisionHash-baseMergeRevision||relativePathUnderRepositoryRoot
For Perforce, p4ServerPort://depotFilePathStartingWithSlashes
- Returns:
- see above
- Throws:
VcsException
- (since 9.1) if there was a error while getting information from VCS