~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Alexander Belchenko
  • Date: 2006-06-15 04:02:23 UTC
  • mto: This revision was merged to the branch mainline in revision 465.
  • Revision ID: bialix@ukr.net-20060615040223-a229c62e0ddfb9a3
show bound info for branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
            except NoWorkingTree:
50
50
                branch = Branch.open_containing(u'.')[0]
51
51
 
 
52
            print
 
53
 
52
54
            pull_loc = branch.get_parent() or 'None'
53
55
            print FORMAT % ('branch pull from', pull_loc)
54
56
 
55
57
            push_loc = branch.get_push_location() or 'None'
56
58
            print FORMAT % ('branch push to', push_loc)
 
59
 
 
60
            bound_loc = branch.get_bound_location() or 'None'
 
61
            print FORMAT % ('bound to branch', bound_loc)
 
62
 
57
63
        except NotBranchError:
58
64
            pass
59
65