~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/revision_ui.py

[rs=mwhudson][release-critical=Rinchen] update to loggerhead trunk,
        mainly to get the code to not hold branches open the whole time but
        also getting some other improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
    template_path = 'loggerhead.templates.revision'
32
32
 
33
 
    def get_values(self, h, args, kw, response):
 
33
    def get_values(self, h, args, kw, headers):
34
34
 
35
35
        if len(args) > 0:
36
36
            revid = h.fix_revid(args[0])
52
52
        navigation = util.Container(
53
53
            revid_list=revid_list, revid=revid, start_revid=start_revid,
54
54
            filter_file_id=filter_file_id, pagesize=1,
55
 
            scan_url='/revision', branch=self._branch, feed=True)
 
55
            scan_url='/revision', branch=self._branch, feed=True, history=h)
56
56
        if query is not None:
57
57
            navigation.query = query
58
58
        util.fill_in_navigation(navigation)