~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/filediff_ui.py

  • Committer: geoffreyfishing at gmail
  • Date: 2011-06-13 02:16:31 UTC
  • mto: (431.2.18 loggerhead) (459.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 461.
  • Revision ID: geoffreyfishing@gmail.com-20110613021631-zsv4qiuhfjql7l8w
Added tarfile test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    template_path = 'loggerhead.templates.filediff'
80
80
 
81
81
    def get_values(self, path, kwargs, headers):
82
 
        history = self._history
83
 
 
84
82
        revid = urllib.unquote(self.args[0])
85
83
        compare_revid = urllib.unquote(self.args[1])
86
84
        file_id = urllib.unquote(self.args[2])
87
85
 
88
 
        repository = self._history._branch.repository
89
86
        chunks = diff_chunks_for_file(
90
87
            self._history._branch.repository, file_id, compare_revid, revid)
91
88