hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1548965 - /httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy
Date Sat, 07 Dec 2013 20:34:41 GMT
Author: olegk
Date: Sat Dec  7 20:34:41 2013
New Revision: 1548965

URL: http://svn.apache.org/r1548965
Log:
Fixed branch creation logic

Modified:
    httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy

Modified: httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy?rev=1548965&r1=1548964&r2=1548965&view=diff
==============================================================================
--- httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy (original)
+++ httpcomponents/httpclient-android/trunk/buildSrc/src/main/groovy/HC.groovy Sat Dec  7
20:34:41 2013
@@ -56,18 +56,33 @@ class HC {
             commitEditor.addDir(
                     "httpclient-android/branches/${branchName}/src/main/java",
                     "httpcore/tags/${coreVersion}/httpcore/src/main/java/", -1)
+            commitEditor.openDir(
+                    "httpclient-android/branches/${branchName}/src/main/java/org", -1)
+            commitEditor.openDir(
+                    "httpclient-android/branches/${branchName}/src/main/java/org/apache",
-1)
+            commitEditor.openDir(
+                    "httpclient-android/branches/${branchName}/src/main/java/org/apache/http",
-1)
 
-            List<String> modules = [
-                    'auth', 'impl/auth',
-                    'cookie', 'impl/cookie',
-                    'conn', 'impl/conn',
-                    'client', 'impl/execchain', 'impl/client']
-            modules.each { String module ->
+            ['auth', 'cookie', 'conn', 'client'].each { String module ->
                 commitEditor.addDir(
                         "httpclient-android/branches/${branchName}/src/main/java/org/apache/http/${module}",
                         "httpclient/tags/${clientVersion}/httpclient/src/main/java/org/apache/http/${module}",
-1)
                 commitEditor.closeDir()
             }
+
+            commitEditor.openDir(
+                    "httpclient-android/branches/${branchName}/src/main/java/org/apache/http/impl",
-1)
+            ['auth', 'cookie', 'conn', 'execchain', 'client'].each { String module ->
+                commitEditor.addDir(
+                        "httpclient-android/branches/${branchName}/src/main/java/org/apache/http/impl/${module}",
+                        "httpclient/tags/${clientVersion}/httpclient/src/main/java/org/apache/http/impl/${module}",
-1)
+                commitEditor.closeDir()
+            }
+            commitEditor.closeDir()
+
+            commitEditor.closeDir()
+            commitEditor.closeDir()
+            commitEditor.closeDir()
             commitEditor.closeDir()
             commitEditor.closeDir()
             commitEditor.closeDir()



Mime
View raw message