~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-17 00:10:45 UTC
  • mto: This revision was merged to the branch mainline in revision 4299.
  • Revision ID: jelmer@samba.org-20090417001045-8elg0p1apb0w8bnm
Don't retrieve the tree if log is called on the root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1830
1830
    info_list = []
1831
1831
    start_rev_info, end_rev_info = _get_revision_range(revisionspec_list, b,
1832
1832
        "log")
 
1833
    if relpaths in ([], [u'']):
 
1834
        return b, [], start_rev_info, end_rev_info
1833
1835
    if start_rev_info is None and end_rev_info is None:
1834
1836
        if tree is None:
1835
1837
            tree = b.basis_tree()