~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/inventory_ui.py

  • Committer: Michael Hudson
  • Date: 2009-03-19 18:48:15 UTC
  • mfrom: (305.1.16 iter_changes-forevar)
  • Revision ID: michael.hudson@canonical.com-20090319184815-wnj0kvcnzx31n1lq
simplify the internal handling of differences between revisions, and in
particular use iter_changes to find said changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
                revno_url = 'head:'
147
147
            else:
148
148
                revno_url = history.get_revno(revid)
149
 
            # add parent & merge-point branch-nick info, in case it's useful
150
 
            history.get_branch_nicks([ change ])
 
149
            history.add_branch_nicks(change)
151
150
 
152
151
            # Create breadcrumb trail for the path within the branch
153
152
            branch_breadcrumbs = util.branch_breadcrumbs(path, rev_tree, 'files')