~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-18 12:46:49 UTC
  • mto: This revision was merged to the branch mainline in revision 6386.
  • Revision ID: jelmer@samba.org-20111218124649-nf7i69ocg3k2roz3
Import absolute_import in a few places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
from __future__ import absolute_import
17
18
 
18
19
 
19
20
"""Code to show logs of changes.
2023
2024
      kind is one of values 'directory', 'file', 'symlink', 'tree-reference'.
2024
2025
      branch will be read-locked.
2025
2026
    """
2026
 
    from builtins import _get_revision_range
 
2027
    from bzrlib.builtins import _get_revision_range
2027
2028
    tree, b, path = controldir.ControlDir.open_containing_tree_or_branch(
2028
2029
        file_list[0])
2029
2030
    add_cleanup(b.lock_read().unlock)