~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/filediff_ui.py

  • Committer: Ian Clatworthy
  • Date: 2010-04-23 00:02:29 UTC
  • mfrom: (407.1.2 loggerhead)
  • Revision ID: ian.clatworthy@canonical.com-20100423000229-ysxj7lzkx6oklt35
Skip syntax highlighting on files over 512K

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
class FileDiffUI(TemplatedBranchView):
78
78
 
79
79
    template_path = 'loggerhead.templates.filediff'
80
 
    supports_json = True
81
80
 
82
81
    def get_values(self, path, kwargs, headers):
83
82
        revid = urllib.unquote(self.args[0])
88
87
            self._history._branch.repository, file_id, compare_revid, revid)
89
88
 
90
89
        return {
 
90
            'util': util,
91
91
            'chunks': chunks,
92
92
        }