You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2018/08/15 20:25:25 UTC

[maven-scm] branch master updated: [SCM-895] Starteam tag command inverts logic of tagging subsets of directories

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-scm.git


The following commit(s) were added to refs/heads/master by this push:
     new 999cd52  [SCM-895] Starteam tag command inverts logic of tagging subsets of directories
999cd52 is described below

commit 999cd528d3b7235f1ef31308471d9e7c71b3f973
Author: Andrew Partis <an...@hotmail.com>
AuthorDate: Thu Oct 29 12:36:21 2015 +0000

    [SCM-895] Starteam tag command inverts logic of tagging subsets of directories
    
    This closes #40
---
 .../maven/scm/provider/starteam/command/tag/StarteamTagCommand.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/tag/StarteamTagCommand.java b/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/tag/StarteamTagCommand.java
index e95c182..4c0ba10 100644
--- a/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/tag/StarteamTagCommand.java
+++ b/maven-scm-providers/maven-scm-provider-starteam/src/main/java/org/apache/maven/scm/provider/starteam/command/tag/StarteamTagCommand.java
@@ -58,7 +58,7 @@ public class StarteamTagCommand
                                            ScmTagParameters scmTagParameters )
         throws ScmException
     {
-        if ( fileSet.getFileList().isEmpty() )
+        if ( !fileSet.getFileList().isEmpty() )
         {
             throw new ScmException( "This provider doesn't support tagging subsets of a directory" );
         }