Merge lp:~cjwatson/brz-svn/fix-http-probe into lp:brz-svn

Proposed by Colin Watson
Status: Merged
Merged at revision: 4275
Proposed branch: lp:~cjwatson/brz-svn/fix-http-probe
Merge into: lp:brz-svn
Diff against target: 13 lines (+1/-2)
1 file modified
__init__.py (+1/-2)
To merge this branch: bzr merge lp:~cjwatson/brz-svn/fix-http-probe
Reviewer Review Type Date Requested Status
Jelmer Vernooij Pending
Review via email: mp+397746@code.launchpad.net

Commit message

Fix HTTP VCS probe in SvnRemoteProber.probe_transport.

Description of the change

This file imports individual errors from breezy.errors, rather than doing something like "from breezy import errors".

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '__init__.py'
2--- __init__.py 2020-02-03 09:16:45 +0000
3+++ __init__.py 2021-02-09 17:02:50 +0000
4@@ -236,8 +236,7 @@
5 priv_transport = getattr(transport, "_decorated", transport)
6 try:
7 headers = priv_transport._options('.')
8- except (errors.InProcessTransport, errors.NoSuchFile,
9- errors.InvalidHttpResponse):
10+ except (InProcessTransport, NoSuchFile, InvalidHttpResponse):
11 raise NotBranchError(path=transport.base)
12 else:
13 dav_entries = set()

Subscribers

People subscribed via source and target branches

to all changes: