allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#5046] Added index for parent_commit_ids on CommitRun
Date Fri, 05 Oct 2012 15:52:23 GMT
Updated Branches:
  refs/heads/master 40777de32 -> 1a481f418


[#5046] Added index for parent_commit_ids on CommitRun

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

Branch: refs/heads/master
Commit: 1a481f4183e47a0b3952ec763c07da258da8f464
Parents: 40777de
Author: Cory Johns <johnsca@geek.net>
Authored: Thu Oct 4 16:44:25 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Fri Oct 5 15:48:47 2012 +0000

----------------------------------------------------------------------
 Allura/allura/model/repo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1a481f41/Allura/allura/model/repo.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repo.py b/Allura/allura/model/repo.py
index 861ccaf..2cbae4b 100644
--- a/Allura/allura/model/repo.py
+++ b/Allura/allura/model/repo.py
@@ -99,7 +99,7 @@ DiffInfoDoc = collection(
 CommitRunDoc = collection(
     'repo_commitrun', main_doc_session,
     Field('_id', str),
-    Field('parent_commit_ids', [str]),
+    Field('parent_commit_ids', [str], index=True),
     Field('commit_ids', [str], index=True),
     Field('commit_times', [datetime]))
 


Mime
View raw message