Merge lp:~cjwatson/brz/remove-lp-workaround into lp:brz

Proposed by Colin Watson on 2020-11-13
Status: Merged
Approved by: Jelmer Vernooij on 2020-11-16
Approved revision: 7522
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~cjwatson/brz/remove-lp-workaround
Merge into: lp:brz
Diff against target: 13 lines (+0/-3)
1 file modified
breezy/git/__init__.py (+0/-3)
To merge this branch: bzr merge lp:~cjwatson/brz/remove-lp-workaround
Reviewer Review Type Date Requested Status
Jelmer Vernooij 2020-11-13 Approve on 2020-11-13
Review via email: mp+393710@code.launchpad.net

Commit message

Remove breezy.git workaround for bazaar.launchpad.net.

Description of the change

To post a comment you must log in.
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'breezy/git/__init__.py'
2--- breezy/git/__init__.py 2020-07-18 23:14:00 +0000
3+++ breezy/git/__init__.py 2020-11-13 11:16:32 +0000
4@@ -178,9 +178,6 @@
5 # GitHub requires we lie.
6 # https://github.com/dulwich/dulwich/issues/562
7 headers["User-Agent"] = user_agent_for_github()
8- elif host == "bazaar.launchpad.net":
9- # Don't attempt Git probes against bazaar.launchpad.net; pad.lv/1744830
10- raise brz_errors.NotBranchError(transport.base)
11 resp = transport.request('GET', url, headers=headers)
12 if resp.status in (404, 405):
13 raise brz_errors.NotBranchError(transport.base)

Subscribers

People subscribed via source and target branches