3
from loggerhead import util
4
from loggerhead.controllers import TemplatedBranchView
7
class RevLogUI(TemplatedBranchView):
9
template_path = 'loggerhead.templates.revlog'
11
def get_values(self, path, kwargs, headers):
12
history = self._history
14
revid = urllib.unquote(self.args[0])
16
change = history.get_changes([revid])[0]
17
file_changes = history.get_file_changes(change)
18
history.add_branch_nicks(change)
21
'branch': self._branch,
23
'file_changes': file_changes,
26
'url': self._branch.context_url,