Merge lp:~jelmer/brz/darcs-test into lp:brz/3.1

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: not available
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/darcs-test
Merge into: lp:brz/3.1
Diff against target: 25 lines (+3/-3)
1 file modified
breezy/plugins/darcs/__init__.py (+3/-3)
To merge this branch: bzr merge lp:~jelmer/brz/darcs-test
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+381694@code.launchpad.net

Commit message

Fix darcs repository detection.

Description of the change

Fix darcs repository detection.

To post a comment you must log in.
Revision history for this message
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/plugins/darcs/__init__.py'
2--- breezy/plugins/darcs/__init__.py 2019-11-06 01:31:41 +0000
3+++ breezy/plugins/darcs/__init__.py 2020-04-04 20:06:50 +0000
4@@ -59,11 +59,11 @@
5
6 def open(self, transport, _found=False):
7 """Open this directory."""
8- raise DarcsUnsupportedError(self)
9+ raise DarcsUnsupportedError()
10
11 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
12 basedir=None):
13- raise DarcsUnsupportedError(self)
14+ raise DarcsUnsupportedError()
15
16 def open(self, transport):
17 # Raise NotBranchError if there is nothing there
18@@ -79,7 +79,7 @@
19
20 @classmethod
21 def probe_transport(klass, transport):
22- if transport.has('_darcs'):
23+ if transport.has('_darcs/format'):
24 return DarcsDirFormat()
25 raise errors.NotBranchError(path=transport.base)
26

Subscribers

People subscribed via source and target branches