~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-17 17:19:39 UTC
  • mfrom: (4296.2.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20090417171939-j404oqle9jo68zwg
(Jelmer) Don't retrieve the tree if log is called on the root.

Show diffs side-by-side

added added

removed removed

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