maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject git commit: fix that for svn 1.6
Date Wed, 19 Sep 2012 20:21:49 GMT
Updated Branches:
  refs/heads/master 581909b8b -> 776584814


fix that for svn 1.6


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

Branch: refs/heads/master
Commit: 7765848140199b75bbcc6e08377f79ac20ba9ff5
Parents: 581909b
Author: olivier lamy <olamy@apache.org>
Authored: Wed Sep 19 22:21:42 2012 +0200
Committer: olivier lamy <olamy@apache.org>
Committed: Wed Sep 19 22:21:42 2012 +0200

----------------------------------------------------------------------
 .../command/remoteinfo/SvnRemoteInfoCommand.java   |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-scm/blob/77658481/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnRemoteInfoCommand.java
----------------------------------------------------------------------
diff --git a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnRemoteInfoCommand.java
b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnRemoteInfoCommand.java
index 71b2ba7..7b56fc4 100644
--- a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnRemoteInfoCommand.java
+++ b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/main/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnRemoteInfoCommand.java
@@ -150,7 +150,9 @@ public class SvnRemoteInfoCommand
         if ( exitCode != 0 )
         {
             String output = stderr.getOutput();
-            if ( output.indexOf( "W160013" ) >= 0 )
+            //olamy: a bit ugly but....
+            // trying to parse error from svn cli which indicate no remote path
+            if ( output.indexOf( "W160013" ) >= 0 || output.indexOf( "svn: URL" ) >=
0 )
             {
                 return false;
             }


Mime
View raw message