Switch to side-by-side view

--- a/Allura/allura/model/repository.py
+++ b/Allura/allura/model/repository.py
@@ -105,7 +105,8 @@
         '''Return a file-like object that contains the contents of the blob'''
         raise NotImplementedError, 'open_blob'
 
-    def shorthand_for_commit(self, oid):
+    @classmethod
+    def shorthand_for_commit(cls, oid):
         return '[%s]' % oid[:6]
 
     def symbolics_for_commit(self, commit):