allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [37/50] git commit: [#4691] Exclude SVN from refresh-last-commits.py since TreeDocs, TreesDocs and DiffInfoDocs are not pre-computed for SVN
Date Wed, 06 Feb 2013 15:42:52 GMT
[#4691] Exclude SVN from refresh-last-commits.py since TreeDocs, TreesDocs and DiffInfoDocs
are not pre-computed for SVN

Signed-off-by: Cory Johns <johnsca@geek.net>


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

Branch: refs/heads/cj/4691
Commit: 0fb11fe39eba6ee8cf23698a81ae1f46521b92ea
Parents: b05c8dc
Author: Cory Johns <johnsca@geek.net>
Authored: Mon Feb 4 15:24:09 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Feb 5 20:22:52 2013 +0000

----------------------------------------------------------------------
 scripts/refresh-last-commits.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0fb11fe3/scripts/refresh-last-commits.py
----------------------------------------------------------------------
diff --git a/scripts/refresh-last-commits.py b/scripts/refresh-last-commits.py
index 5b6e78a..a23f582 100644
--- a/scripts/refresh-last-commits.py
+++ b/scripts/refresh-last-commits.py
@@ -135,9 +135,9 @@ def repo_type_list(s):
     repo_types = []
     for repo_type in s.split(','):
         repo_type = repo_type.strip()
-        if repo_type not in ['svn', 'git', 'hg']:
+        if repo_type not in ['git', 'hg']:
             raise argparse.ArgumentTypeError(
-                    '{} is not a valid repo type.'.format(repo_type))
+                    '{0} is not a valid repo type.'.format(repo_type))
         repo_types.append(repo_type)
     return repo_types
 
@@ -156,9 +156,9 @@ def parse_options():
             help='Restrict update to projects for which the shortname matches '
             'the provided regex.')
     parser.add_argument('--repo-types', action='store', type=repo_type_list,
-            default=['svn', 'git', 'hg'], dest='repo_types',
+            default=['git', 'hg'], dest='repo_types',
             help='Only refresh last commits for repos of the given type(s). Defaults to:
'
-            'svn,git,hg. Example: --repo-types=git,hg')
+            'git,hg. Example: --repo-types=git')
     parser.add_argument('--mount_point', default='', dest='mount_point',
             help='Restrict update to repos at the given tool mount point. ')
     parser.add_argument('--clean', action='store_true', dest='clean',


Mime
View raw message