Skip to content

Commit

Permalink
[JENKINS-18819] Unrecognized option "-overwrite" with 2002 version of…
Browse files Browse the repository at this point in the history
… ClearCase
  • Loading branch information
stephanebruckert committed Jul 18, 2013
1 parent c40f32a commit dc1a81f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/hudson/plugins/clearcase/CleartoolVersion.java
Expand Up @@ -60,11 +60,11 @@ public int compareTo(CleartoolVersion o) {
int op2 = o.parsedVersion[i];
if (op1 != op2) {
if (i == 0) {
// Handle Clearcase 2003 versions
if (op1 == 2003) {
// Handle Clearcase 2002 and 2003 versions
if (op1 == 2002 || op1 == 2003) {
return -1;
}
if (op2 == 2003) {
if (op2 == 2002 || op2 == 2003) {
return 1;
}
}
Expand Down

0 comments on commit dc1a81f

Please sign in to comment.