~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/wholehistory.py

  • Committer: Steve 'Ashcrow' Milner
  • Date: 2008-10-24 02:26:05 UTC
  • mto: This revision was merged to the branch mainline in revision 231.
  • Revision ID: stevem@gnulinux.net-20081024022605-bukahu7dovm7ii6u
Updated to follow pep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
    last_revid = branch.last_revision()
43
43
 
44
 
    log = logging.getLogger('loggerhead.%s' % (branch.nick,))
 
44
    log = logging.getLogger('loggerhead.%s' % branch.nick)
45
45
 
46
46
    graph = branch.repository.get_graph()
47
47
    parent_map = dict(((key, value) for key, value in
72
72
        for parent in _revision_graph[revid]:
73
73
            _where_merged.setdefault(parent, set()).add(revid)
74
74
 
75
 
    log.info('built revision graph cache: %r secs' % (time.time() - z,))
 
75
    log.info('built revision graph cache: %r secs' % (time.time() - z))
76
76
 
77
77
    return (_revision_graph, _full_history, _revision_info,
78
78
            _revno_revid, _merge_sort, _where_merged)