Merge lp:~jelmer/brz/cvsdir into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 7637
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/cvsdir
Merge into: lp:brz
Diff against target: 91 lines (+8/-8)
5 files modified
breezy/plugins/cvs/__init__.py (+2/-2)
breezy/plugins/fossil/__init__.py (+2/-2)
breezy/plugins/hg/__init__.py (+1/-1)
breezy/plugins/mtn/__init__.py (+1/-1)
breezy/plugins/svn/__init__.py (+2/-2)
To merge this branch: bzr merge lp:~jelmer/brz/cvsdir
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+429907@code.launchpad.net

Commit message

Fix exception initialization for unsupported formats

Description of the change

Fix exception initialization for unsupported formats.

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/cvs/__init__.py'
2--- breezy/plugins/cvs/__init__.py 2020-02-18 01:57:45 +0000
3+++ breezy/plugins/cvs/__init__.py 2022-09-14 17:26:39 +0000
4@@ -14,7 +14,7 @@
5 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
7
8-"""CVS working tree support for bzr.
9+"""CVS working tree support.
10
11 Currently limited to referencing tools for migration.
12 """
13@@ -55,7 +55,7 @@
14
15 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
16 basedir=None):
17- raise CVSUnsupportedError(self)
18+ raise CVSUnsupportedError(format=self)
19
20 def open(self, transport):
21 # Raise NotBranchError if there is nothing there
22
23=== modified file 'breezy/plugins/fossil/__init__.py'
24--- breezy/plugins/fossil/__init__.py 2021-01-10 00:25:52 +0000
25+++ breezy/plugins/fossil/__init__.py 2022-09-14 17:26:39 +0000
26@@ -43,7 +43,7 @@
27 return "Fossil control directory"
28
29 def initialize_on_transport(self, transport):
30- raise errors.UninitializableFormat(self)
31+ raise errors.UninitializableFormat(format=self)
32
33 def is_supported(self):
34 return False
35@@ -53,7 +53,7 @@
36
37 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
38 basedir=None):
39- raise FossilUnsupportedError()
40+ raise FossilUnsupportedError(format=self)
41
42 def open(self, transport):
43 # Raise NotBranchError if there is nothing there
44
45=== modified file 'breezy/plugins/hg/__init__.py'
46--- breezy/plugins/hg/__init__.py 2022-08-22 18:19:46 +0000
47+++ breezy/plugins/hg/__init__.py 2022-09-14 17:26:39 +0000
48@@ -54,7 +54,7 @@
49
50 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
51 basedir=None):
52- raise MercurialUnsupportedError()
53+ raise MercurialUnsupportedError(format=self)
54
55 def open(self, transport):
56 # Raise NotBranchError if there is nothing there
57
58=== modified file 'breezy/plugins/mtn/__init__.py'
59--- breezy/plugins/mtn/__init__.py 2020-08-10 15:00:17 +0000
60+++ breezy/plugins/mtn/__init__.py 2022-09-14 17:26:39 +0000
61@@ -54,7 +54,7 @@
62
63 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
64 basedir=None):
65- raise MonotoneUnsupportedError(self)
66+ raise MonotoneUnsupportedError(format=self)
67
68 def open(self, transport):
69 # Raise NotBranchError if there is nothing there
70
71=== modified file 'breezy/plugins/svn/__init__.py'
72--- breezy/plugins/svn/__init__.py 2022-08-22 18:19:46 +0000
73+++ breezy/plugins/svn/__init__.py 2022-09-14 17:26:39 +0000
74@@ -47,7 +47,7 @@
75 return "Subversion working directory"
76
77 def initialize_on_transport(self, transport):
78- raise errors.UninitializableFormat(self)
79+ raise errors.UninitializableFormat(format=self)
80
81 def is_supported(self):
82 return False
83@@ -57,7 +57,7 @@
84
85 def check_support_status(self, allow_unsupported, recommend_upgrade=True,
86 basedir=None):
87- raise SubversionUnsupportedError()
88+ raise SubversionUnsupportedError(format=self)
89
90 def open(self, transport):
91 # Raise NotBranchError if there is nothing there

Subscribers

People subscribed via source and target branches