incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [2/2] git commit: [#5703] Removed clean_all option missed during merge conflict resolution
Date Thu, 14 Feb 2013 19:26:13 GMT
Updated Branches:
  refs/heads/master 0f59f64e6 -> 92cf227a5


[#5703] Removed clean_all option missed during merge conflict resolution

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/92cf227a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/92cf227a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/92cf227a

Branch: refs/heads/master
Commit: 92cf227a5faece7987a1b38202022111fdae8339
Parents: 0a0ba7a
Author: Cory Johns <johnsca@geek.net>
Authored: Thu Feb 14 19:08:04 2013 +0000
Committer: Cory Johns <johnsca@geek.net>
Committed: Thu Feb 14 19:10:30 2013 +0000

----------------------------------------------------------------------
 Allura/allura/scripts/refreshrepo.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/92cf227a/Allura/allura/scripts/refreshrepo.py
----------------------------------------------------------------------
diff --git a/Allura/allura/scripts/refreshrepo.py b/Allura/allura/scripts/refreshrepo.py
index e7a5110..fb6453b 100644
--- a/Allura/allura/scripts/refreshrepo.py
+++ b/Allura/allura/scripts/refreshrepo.py
@@ -28,15 +28,6 @@ class RefreshRepo(ScriptTask):
             q_project['shortname'] = {'$regex': options.project_regex}
 
         log.info('Refreshing repositories')
-        if options.clean_all:
-            log.info('Removing all repository objects')
-            M.repo.CommitDoc.m.remove({})
-            M.repo.TreeDoc.m.remove({})
-            M.repo.TreesDoc.m.remove({})
-            M.repo.DiffInfoDoc.m.remove({})
-            M.repo.CommitRunDoc.m.remove({})
-            M.repo.LastCommitDoc.m.remove({})
-
         for chunk in chunked_find(M.Project, q_project):
             for p in chunk:
                 log.info("Refreshing repos for project '%s'." % p.shortname)


Mime
View raw message