~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/info.py

  • Committer: Robert Collins
  • Date: 2006-06-16 17:10:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1781.
  • Revision ID: robertc@robertcollins.net-20060616171052-dc65d70ddff25ff6
(robertc)Partial refactoring of info tests to be more robust to format changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        branch_path = branch.bzrdir.root_transport.base
62
62
        if working_path != branch_path:
63
63
            # lightweight checkout
64
 
            print '  light checkout root: %s' % working_path
 
64
            print ' light checkout root: %s' % working_path
65
65
            if repository.is_shared():
66
66
                # lightweight checkout of branch in shared repository
67
 
                print '    shared repository: %s' % repository_path
68
 
                print '    repository branch: %s' % (
 
67
                print '   shared repository: %s' % repository_path
 
68
                print '   repository branch: %s' % (
69
69
                    _repo_relpath(repository_path, branch_path))
70
70
            else:
71
71
                # lightweight checkout of standalone branch
72
 
                print '   checkout of branch: %s' % branch_path
 
72
                print '  checkout of branch: %s' % branch_path
73
73
        elif repository.is_shared():
74
74
            # branch with tree inside shared repository
75
75
            print '    shared repository: %s' % repository_path