diff --git a/WHATSNEW b/WHATSNEW index 56dcca578..82f3cef82 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -132,8 +132,10 @@ Fixed bugs: * off-by-one error in environment setup for execution under OpenVMS fixed. -* Bugzilla report 36171: -noclasspath crashes ant if no system classpath is set. +* Bugzilla report 36171: -noclasspath crashes ant if no system classpath is set. +* used wrong switch for retrieving revisions by label. + Bugzilla Report 36359. Other changes: -------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java b/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java index ee7cee1d6..70331770a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java @@ -232,7 +232,7 @@ public class Pvcs extends org.apache.tools.ant.Task { + getPromotiongroup()); } else { if (getLabel() != null) { - commandLine.createArgument().setValue("-r" + getLabel()); + commandLine.createArgument().setValue("-v" + getLabel()); } else { if (getRevision() != null) { commandLine.createArgument().setValue("-r"