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

Proposed by Colin Watson
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
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 Approve
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.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

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