support custom UnsupportedFormat errors
Bug #731311 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
CVS currently doesn't return False in is_supported() because it needs to provide a custom error message when a CVS control dir is being opened.
It would be nice if it was possible for formats to specify a custom unsupported error message, so CVSFormat.
Related branches
lp:~jelmer/bzr/notsupported-check
- John A Meinel: Approve
-
Diff: 382 lines (+177/-50)8 files modifiedbzrlib/bzrdir.py (+4/-33)
bzrlib/controldir.py (+54/-0)
bzrlib/plugins/weave_fmt/bzrdir.py (+1/-1)
bzrlib/tests/per_controldir/__init__.py (+1/-0)
bzrlib/tests/per_controldir/test_format.py (+44/-0)
bzrlib/tests/test_controldir.py (+55/-0)
bzrlib/ui/__init__.py (+14/-16)
doc/en/release-notes/bzr-2.4.txt (+4/-0)
lp:~jelmer/bzr-cvs/check-status
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+8/-5)1 file modified__init__.py (+8/-5)
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.4b2 |
To post a comment you must log in.