allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [44/45] allura git commit: [#7837] guarantee a good stable order of diff lists
Date Wed, 01 Apr 2015 21:11:01 GMT
[#7837] guarantee a good stable order of diff lists


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

Branch: refs/heads/hss/7072
Commit: 758b51bc8c25a1951745ae36d0104d185f560170
Parents: 710df69
Author: Dave Brondsema <dave@brondsema.net>
Authored: Mon Mar 30 16:36:37 2015 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Mar 30 16:36:37 2015 -0400

----------------------------------------------------------------------
 Allura/allura/model/repository.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/758b51bc/Allura/allura/model/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repository.py b/Allura/allura/model/repository.py
index edebeb4..362f725 100644
--- a/Allura/allura/model/repository.py
+++ b/Allura/allura/model/repository.py
@@ -1112,10 +1112,10 @@ class Commit(RepoObject, ActivityObject):
         copied = self._diffs_copied(diffs['added'], diffs['removed'])
         diffs['copied'].extend(copied)
         return Object(
-            added=diffs['added'],
-            removed=diffs['removed'],
-            changed=diffs['changed'],
-            copied=diffs['copied'],
+            added=sorted(diffs['added']),
+            removed=sorted(diffs['removed']),
+            changed=sorted(diffs['changed']),
+            copied=sorted(diffs['copied']),
             total=diffs['total'])
 
     def _diffs_copied(self, added, removed):


Mime
View raw message