/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/upgrade.py

  • Committer: Vincent Ladeuil
  • Date: 2011-07-06 09:22:00 UTC
  • mfrom: (6008 +trunk)
  • mto: (6012.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6013.
  • Revision ID: v.ladeuil+lp@free.fr-20110706092200-7iai2mwzc0sqdsvf
MergingĀ inĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
def _get_object_and_label(control_dir):
221
221
    """Return the primary object and type label for a control directory.
222
222
 
223
 
    :return: object, label where
224
 
      object is a Branch, Repository or WorkingTree and
225
 
      label is one of:
226
 
        branch            - a branch
227
 
        repository        - a repository
228
 
        tree              - a lightweight checkout
 
223
    :return: object, label where:
 
224
      * object is a Branch, Repository or WorkingTree and
 
225
      * label is one of:
 
226
        * branch            - a branch
 
227
        * repository        - a repository
 
228
        * tree              - a lightweight checkout
229
229
    """
230
230
    try:
231
231
        try: