Skip to content

Commit

Permalink
[FIXED JENKINS-16314] Retain tag information on post-checkout cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mc1arke committed Mar 17, 2013
1 parent 2567f2e commit d781d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/scm/AbstractCvs.java
Expand Up @@ -693,7 +693,7 @@ public Void invoke(File module, VirtualChannel virtualChannel) throws IOExceptio
private void cleanup(File directory, AdminHandler adminHandler) throws IOException {
for (File file : adminHandler.getAllFiles(directory)) {
Entry entry = adminHandler.getEntry(file);
entry.setDate(null);
entry.setTag(entry.getTag()); // re-setting the tag removes the date without altering tag info
adminHandler.setEntry(file, entry);
}

Expand Down

0 comments on commit d781d28

Please sign in to comment.