You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2012/10/04 18:44:44 UTC

git commit: [#5046] Added index for parent_commit_ids on CommitRun

Updated Branches:
  refs/heads/cj/5046 35672f7af -> a747e9b55


[#5046] Added index for parent_commit_ids on CommitRun

Signed-off-by: Cory Johns <jo...@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/a747e9b5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/a747e9b5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/a747e9b5

Branch: refs/heads/cj/5046
Commit: a747e9b5595ef3d060855f671782657df4bd1ec2
Parents: 35672f7
Author: Cory Johns <jo...@geek.net>
Authored: Thu Oct 4 16:44:25 2012 +0000
Committer: Cory Johns <jo...@geek.net>
Committed: Thu Oct 4 16:44:25 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/a747e9b5/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]))