~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/info.py

  • Committer: Alexander Belchenko
  • Date: 2007-09-07 08:46:20 UTC
  • mto: (2839.6.2 3)
  • mto: This revision was merged to the branch mainline in revision 2884.
  • Revision ID: bialix@ukr.net-20070907084620-7t25v0anhxompa0m
fix for test_info-tests: using osutils.getcwd instead of os.getcwd (sigh)

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
def _show_location_info(locs):
132
132
    """Show known locations for working, branch and repository."""
133
133
    print 'Location:'
134
 
    path_list = LocationList(os.getcwd())
 
134
    path_list = LocationList(osutils.getcwd())
135
135
    for name, loc in locs:
136
136
        path_list.add_url(name, loc)
137
137
    sys.stdout.writelines(path_list.get_lines())
138
138
 
139
139
def _gather_related_branches(branch):
140
 
    locs = LocationList(os.getcwd())
 
140
    locs = LocationList(osutils.getcwd())
141
141
    locs.add_url('public branch', branch.get_public_branch())
142
142
    locs.add_url('push branch', branch.get_push_location())
143
143
    locs.add_url('parent branch', branch.get_parent())