maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject maven-scm git commit: [SCM-682] Maven release fails when releasing from a named branch fixes #15
Date Tue, 05 Apr 2016 23:58:15 GMT
Repository: maven-scm
Updated Branches:
  refs/heads/master 7e41fe27c -> 9dfde5c62


[SCM-682] Maven release fails when releasing from a named branch
fixes #15

Signed-off-by: olivier lamy <olamy@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/maven-scm/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-scm/commit/9dfde5c6
Tree: http://git-wip-us.apache.org/repos/asf/maven-scm/tree/9dfde5c6
Diff: http://git-wip-us.apache.org/repos/asf/maven-scm/diff/9dfde5c6

Branch: refs/heads/master
Commit: 9dfde5c6295beea94e8ad3a53da37833ed648df1
Parents: 7e41fe2
Author: olivier lamy <olamy@apache.org>
Authored: Wed Apr 6 09:48:46 2016 +1000
Committer: olivier lamy <olamy@apache.org>
Committed: Wed Apr 6 09:48:46 2016 +1000

----------------------------------------------------------------------
 .../java/org/apache/maven/scm/provider/hg/HgUtils.java  | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-scm/blob/9dfde5c6/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgUtils.java
----------------------------------------------------------------------
diff --git a/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgUtils.java
b/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgUtils.java
index bfcf72c..97aada2 100644
--- a/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgUtils.java
+++ b/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgUtils.java
@@ -284,6 +284,18 @@ public final class HgUtils
         {
             return branchName;
         }
+
+        /** {@inheritDoc} */
+        public void consumeLine( String line )
+        {
+            if ( getLogger().isDebugEnabled() )
+            {
+                getLogger().debug( line );
+            }
+            String trimmedLine = line.trim();
+
+            doConsume( null, trimmedLine );
+        }
     }
 
 


Mime
View raw message