~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: jml at canonical
  • Date: 2007-12-03 06:52:35 UTC
  • mto: (3077.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3078.
  • Revision ID: jml@canonical.com-20071203065235-kegbp7i5fv3evi02
Add tests to check the handling of TooManyRedirections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
772
772
                        " leading parent directories."
773
773
                        % location)
774
774
                _create_prefix(to_transport)
 
775
            except errors.TooManyRedirections:
 
776
                raise errors.BzrCommandError("Too many redirections trying "
 
777
                                             "to make %s." % location)
775
778
 
776
779
            # Now the target directory exists, but doesn't have a .bzr
777
780
            # directory. So we need to create it, along with any work to create