You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/05/09 22:14:33 UTC

git commit: "svn upgrade" repository to prepare data with actual svn version

Repository: maven-scm
Updated Branches:
  refs/heads/master 00458788a -> 36cdd169d


"svn upgrade" repository to prepare data with actual svn version

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

Branch: refs/heads/master
Commit: 36cdd169de541285a19a40f6ed9c3aa2b6d3a6b9
Parents: 0045878
Author: Hervé Boutemy <hb...@apache.org>
Authored: Fri May 9 22:14:27 2014 +0200
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Fri May 9 22:14:27 2014 +0200

----------------------------------------------------------------------
 .../prepare.groovy                                | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-scm/blob/36cdd169/maven-scm-plugin/src/it/scm-741-validate-scm-url-matches-working-copy/prepare.groovy
----------------------------------------------------------------------
diff --git a/maven-scm-plugin/src/it/scm-741-validate-scm-url-matches-working-copy/prepare.groovy b/maven-scm-plugin/src/it/scm-741-validate-scm-url-matches-working-copy/prepare.groovy
index d4b3881..40cf6ff 100644
--- a/maven-scm-plugin/src/it/scm-741-validate-scm-url-matches-working-copy/prepare.groovy
+++ b/maven-scm-plugin/src/it/scm-741-validate-scm-url-matches-working-copy/prepare.groovy
@@ -21,7 +21,21 @@
 // BUT we actually don't store that special versioning directory as-is to prevent potentially confusing 
 // (to say the least) a svn checkout of the maven-scm project.
 // 
-File dotSvnDir = new File(basedir, 'dotSvnDir')
+File dotSvnDir = new File( basedir, 'dotSvnDir' )
 assert dotSvnDir.exists()
 assert dotSvnDir.isDirectory()
-assert dotSvnDir.renameTo(new File(basedir, '.svn'))
+assert dotSvnDir.renameTo( new File( basedir, '.svn' ) )
+
+println "svn --version"
+def proc = "svn --version".execute()
+proc.waitFor()
+println "return code: ${ proc.exitValue()}"
+println "stderr: ${proc.err.text}"
+println "stdout: ${proc.in.text}"
+
+println "svn upgrade $basedir"
+proc = ["svn", "upgrade", "$basedir"].execute()
+proc.waitFor()
+println "return code: ${ proc.exitValue()}"
+println "stderr: ${proc.err.text}"
+println "stdout: ${proc.in.text}"