~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/bzrdir.py

  • Committer: Andrew Bennetts
  • Date: 2010-01-12 01:10:03 UTC
  • mto: This revision was merged to the branch mainline in revision 4965.
  • Revision ID: andrew.bennetts@canonical.com-20100112011003-63u5ccwhjeygp870
More tests and comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
506
506
            else:
507
507
                return SuccessfulSmartServerResponse(('ref', reference_url))
508
508
        except errors.NotBranchError, e:
 
509
            # Stringify the exception so that its .detail attribute will be
 
510
            # filled out.
509
511
            str(e)
510
512
            resp = ('nobranch',)
511
513
            detail = e.detail