Switch to side-by-side view

--- a/ForgeGit/forgegit/controllers.py
+++ b/ForgeGit/forgegit/controllers.py
@@ -4,6 +4,7 @@
 
 from pyforge.controllers import repository
 from pyforge.lib.security import require, has_artifact_access
+from pyforge.lib import patience
 
 from .widgets import GitRevisionWidget
 
@@ -11,8 +12,6 @@
 
 def on_import():
     BranchBrowser.CommitBrowserClass = CommitBrowser
-    CommitBrowser.TreeBrowserClass = TreeBrowser
-    TreeBrowser.FileBrowserClass = FileBrowser
 
 class BranchBrowser(repository.BranchBrowser):
 
@@ -33,31 +32,9 @@
 class CommitBrowser(repository.CommitBrowser):
     revision_widget = GitRevisionWidget()
 
-    def __init__(self, revision):
-        super(CommitBrowser, self).__init__(None, revision)
-
     @expose('forgegit.templates.commit')
     @with_trailing_slash
     def index(self):
-        result = super(CommitBrowser, self).index()
-        c.revision_widget = revision_widget
-        result.update(self._commit.context(self._branch))
-        return result
-
-class TreeBrowser(repository.TreeBrowser):
-
-    @expose('forgegit.templates.tree')
-    @with_trailing_slash
-    def index(self):
-        return super(TreeBrowser, self).index()
-
-class FileBrowser(repository.FileBrowser):
-
-    @expose('forgegit.templates.file')
-    @without_trailing_slash
-    def index(self, **kw):
-        if 'diff' in kw:
-            override_template(self.index, 'genshi:forgegit.templates.diff')
-        return super(FileBrowser, self).index(**kw)
+        return super(CommitBrowser, self).index()
 
 on_import()