Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-13789] Disable date in checkout/update when on branch
  • Loading branch information
mc1arke committed Jun 4, 2012
1 parent 8393a3f commit 64d4473
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/hudson/scm/CVSSCM.java
Expand Up @@ -748,7 +748,6 @@ public boolean checkout(final AbstractBuild<?, ?> build, final Launcher launcher
updateCommand.setUpdateByRevision(expandedLocationName);
if (repositoryLocation.isUseHeadIfNotFound()) {
updateCommand.setUseHeadIfNotFound(true);
} else {
updateCommand.setUpdateByDate(dateStamp);
}
} else if (locationType == CvsRepositoryLocationType.TAG) {
Expand Down Expand Up @@ -790,7 +789,6 @@ public boolean checkout(final AbstractBuild<?, ?> build, final Launcher launcher
checkoutCommand.setCheckoutByRevision(expandedLocationName);
if (repositoryLocation.isUseHeadIfNotFound()) {
checkoutCommand.setUseHeadIfNotFound(true);
} else {
checkoutCommand.setCheckoutByDate(dateStamp);
}
} else if (locationType == CvsRepositoryLocationType.TAG) {
Expand Down

0 comments on commit 64d4473

Please sign in to comment.