~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/__init__.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-20 02:04:21 UTC
  • mto: This revision was merged to the branch mainline in revision 4552.
  • Revision ID: andrew.bennetts@canonical.com-20090720020421-e1azclkm5b8c345k
Trivial fix for undefined local 'url' in TooManyRedirections case of read_mergeable_from_transport.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            f, transport = do_catching_redirections(get_bundle, transport,
71
71
                                                    redirected_transport)
72
72
        except errors.TooManyRedirections:
73
 
            raise errors.NotABundle(str(url))
 
73
            raise errors.NotABundle(transport.clone(filename).base)
74
74
 
75
75
        if _do_directive:
76
76
            from bzrlib.merge_directive import MergeDirective