The "update" operation can be performed instead of a fresh checkout if feasible.
This operation should also capture the information necessary to tag the workspace later. @param launcher Abstracts away the machine that the files will be checked out. @param workspace a directory to check out the source code. May contain left-over from the previous build. @param changelogFile Upon a successful return, this file should capture the changelog. When there's no change, this file should contain an empty entry. See {@link #createEmptyChangeLog(File,BuildListener,String)}. @return false if the operation fails. The error should be reported to the listener. Otherwise return the changes included in this update (if this was an update.)
Using the return value to indicate success/failure should be considered deprecated, and implementations are encouraged to throw {@link AbortException} to indicate a failure. @throws InterruptedException interruption is usually caused by the user aborting the build. this exception will cause the build to be aborted.
false
will make it return an empty stream in that case.
@return An input stream representing the checked out object.
@throws java.io.IOException Is thrown when the actual repository's commit does.
null
if none are available (inwhich case the client may wait on this object in order to be notified when an instance becomes available).
false
if this method could not delete all the fileswhich should be deleted (e.g. because of of the files was locked). In this case {@link #getToBeDeleted()} lists the fileswhich should be tried to be deleted outside of this method. Although false
is returned the checkout was successful and the working tree was updated for all other files. true
is returned when no such problem occurred
@throws IOException
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|