incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6463] Change svn co url and default mount options
Date Tue, 23 Jul 2013 20:18:17 GMT
Updated Branches:
  refs/heads/tv/6463 62099e2d9 -> 0475acc26


[#6463] Change svn co url and default mount options

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/0475acc2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/0475acc2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/0475acc2

Branch: refs/heads/tv/6463
Commit: 0475acc2619cb42bdba382e38ea60e9e65a3ce0d
Parents: 62099e2
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Jul 23 20:18:00 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Jul 23 20:18:00 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/google/code.py            | 6 +++---
 ForgeImporters/forgeimporters/google/tests/test_code.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0475acc2/ForgeImporters/forgeimporters/google/code.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/google/code.py b/ForgeImporters/forgeimporters/google/code.py
index 29951a6..1ce51de 100644
--- a/ForgeImporters/forgeimporters/google/code.py
+++ b/ForgeImporters/forgeimporters/google/code.py
@@ -53,7 +53,7 @@ except ImportError:
     pass
 
 REPO_URLS = {
-    'svn': 'http://{0}.googlecode.com/svn/trunk/',
+    'svn': 'http://{0}.googlecode.com/svn/',
     'git': 'https://code.google.com/p/{0}/',
     'hg': 'https://code.google.com/p/{0}/',
 }
@@ -113,7 +113,7 @@ class GoogleRepoImporter(ToolImporter):
             'project_name'), repo_type)
         return project.install_app(
                 REPO_ENTRY_POINTS[repo_type],
-                mount_point=mount_point or 'source',
-                mount_label=mount_label or 'Source',
+                mount_point=mount_point or 'code',
+                mount_label=mount_label or 'Code',
                 init_from_url=repo_url,
                 )

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0475acc2/ForgeImporters/forgeimporters/google/tests/test_code.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/google/tests/test_code.py b/ForgeImporters/forgeimporters/google/tests/test_code.py
index a2d9a54..660bc83 100644
--- a/ForgeImporters/forgeimporters/google/tests/test_code.py
+++ b/ForgeImporters/forgeimporters/google/tests/test_code.py
@@ -15,7 +15,7 @@ class TestGetRepoUrl(TestCase):
 
     def test_svn(self):
         r = get_repo_url('projname', 'svn')
-        self.assertEqual(r, 'http://projname.googlecode.com/svn/trunk/')
+        self.assertEqual(r, 'http://projname.googlecode.com/svn/')
 
     def test_git(self):
         r = get_repo_url('projname', 'git')
@@ -41,8 +41,8 @@ class TestGoogleRepoImporter(TestCase):
         p = self._make_project(gc_proj_name='myproject')
         GoogleRepoImporter().import_tool(p)
         p.install_app.assert_called_once_with('Git',
-                mount_point='source',
-                mount_label='Source',
+                mount_point='code',
+                mount_label='Code',
                 init_from_url='http://remote/clone/url/',
                 )
 


Mime
View raw message