Browse Source

Incorrect argument used for version label in PVCS task

PR: 36359


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278544 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
4806c26862
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java

+ 3
- 1
WHATSNEW View File

@@ -132,8 +132,10 @@ Fixed bugs:


* off-by-one error in environment setup for execution under OpenVMS fixed. * 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.


* <pvcs> used wrong switch for retrieving revisions by label.
Bugzilla Report 36359.


Other changes: Other changes:
-------------- --------------


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java View File

@@ -232,7 +232,7 @@ public class Pvcs extends org.apache.tools.ant.Task {
+ getPromotiongroup()); + getPromotiongroup());
} else { } else {
if (getLabel() != null) { if (getLabel() != null) {
commandLine.createArgument().setValue("-r" + getLabel());
commandLine.createArgument().setValue("-v" + getLabel());
} else { } else {
if (getRevision() != null) { if (getRevision() != null) {
commandLine.createArgument().setValue("-r" commandLine.createArgument().setValue("-r"


Loading…
Cancel
Save