~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/directory_service.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-29 11:48:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6325.
  • Revision ID: jelmer@samba.org-20111129114802-vtm3rm4e5brvt87f
Fix capitalization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
    branch_aliases = registry.Registry()
75
75
    branch_aliases.register('parent', lambda b: b.get_parent(),
76
 
        help="the parent of this branch")
 
76
        help="The parent of this branch.")
77
77
    branch_aliases.register('submit', lambda b: b.get_submit_branch(),
78
 
        help="the submit branch for this branch")
 
78
        help="The submit branch for this branch.")
79
79
    branch_aliases.register('public', lambda b: b.get_public_branch(),
80
 
        help="the public location of this branch")
 
80
        help="The public location of this branch.")
81
81
    branch_aliases.register('bound', lambda b: b.get_bound_location(),
82
 
        help="the branch this branch is bound to, for bound branches")
 
82
        help="The branch this branch is bound to, for bound branches.")
83
83
    branch_aliases.register('push', lambda b: b.get_push_location(),
84
 
        help="the saved location used for `bzr push` with no arguments")
 
84
        help="The saved location used for `bzr push` with no arguments.")
85
85
    branch_aliases.register('this', lambda b: b.base,
86
 
        help="this branch")
 
86
        help="This branch.")
87
87
 
88
88
    def look_up(self, name, url):
89
89
        branch = _mod_branch.Branch.open_containing('.')[0]