~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/filediff_ui.py

  • Committer: Martin Albisetti
  • Date: 2009-05-27 12:52:49 UTC
  • mto: (352.6.11 serve-config)
  • mto: This revision was merged to the branch mainline in revision 364.
  • Revision ID: martin.albisetti@canonical.com-20090527125249-b9o7ajvls7jvpjf1
Less windows-ism

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
 
82
84
        revid = urllib.unquote(self.args[0])
83
85
        compare_revid = urllib.unquote(self.args[1])
84
86
        file_id = urllib.unquote(self.args[2])
85
87
 
 
88
        repository = self._history._branch.repository
86
89
        chunks = diff_chunks_for_file(
87
90
            self._history._branch.repository, file_id, compare_revid, revid)
88
91