~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/revision_ui.py

  • Committer: Danilo Segan
  • Date: 2011-09-02 10:22:52 UTC
  • mfrom: (455.1.2 bug-839395)
  • Revision ID: danilo@canonical.com-20110902102252-phc11upmjw8tz1mg
[r=jam][bug=839395] Do not crash when someone asks to look at per-revision changes for a file when file is not changed in a certain revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
                self._branch.friendly_name,
141
141
                self._branch.is_root,
142
142
                'changes'))
143
 
        can_export = self._branch.export_tarballs
144
143
 
145
144
        values.update({
146
145
            'history': self._history,
154
153
            'filter_file_id': filter_file_id,
155
154
            'diff_chunks': diff_chunks,
156
155
            'query': query,
157
 
            'can_export': can_export,
158
156
            'specific_path': path,
159
157
            'start_revid': start_revid,
160
158
        })