~hazmat/loggerhead/speed-rules

« back to all changes in this revision

Viewing changes to loggerhead/controllers/filediff_ui.py

  • Committer: kapil.foss at gmail
  • Date: 2010-03-28 19:46:09 UTC
  • Revision ID: kapil.foss@gmail.com-20100328194609-tn0rgywhlfsjkikt
don't instantiate history cache for no reason when pulling a file diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        file_id = urllib.unquote(self.args[2])
85
85
 
86
86
        chunks = diff_chunks_for_file(
87
 
            self._history._branch.repository, file_id, compare_revid, revid)
 
87
            self._branch.branch.repository, file_id, compare_revid, revid)
88
88
 
89
89
        return {
90
90
            'util': util,