org.netbeans.modules.versioning.spi
Interface VCSHistoryProvider.RevisionProvider
- Enclosing interface:
- VCSHistoryProvider
public static interface VCSHistoryProvider.RevisionProvider
Implement and pass over to VCSHistoryProvider.HistoryEntry in case
VCSHistoryProvider.HistoryEntry.getRevisionFile(java.io.File, java.io.File)
is expected to work.
- Since:
- 1.29
- See Also:
VCSHistoryProvider.HistoryEntry.getRevisionFile(java.io.File, java.io.File)
getRevisionFile
void getRevisionFile(File originalFile,
File revisionFile)
- Get the copy of a file as it was in a revision given by a
VCSHistoryProvider.HistoryEntry.
In case the versioning system cannot provide the file in the requested revision
then this method should do nothing.
Note that for versioning systems that support keyword expansion,
the original file must expand all keywords.
- Parameters:
originalFile - placeholder File for the original (unmodified) copy of the working filerevisionFile - a File in the working copy- Since:
- 1.29