/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/cvs/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-22 23:16:21 UTC
  • mfrom: (7422 work)
  • mto: This revision was merged to the branch mainline in revision 7426.
  • Revision ID: jelmer@jelmer.uk-20191222231621-3p14u9zaypv3q8zl
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    controldir,
28
28
    errors,
29
29
    )
 
30
from ...transport import register_transport_proto
30
31
 
31
32
 
32
33
class CVSUnsupportedError(errors.UnsupportedFormatError):
67
68
class CVSProber(controldir.Prober):
68
69
 
69
70
    @classmethod
 
71
    def priority(klass, transport):
 
72
        return 100
 
73
 
 
74
    @classmethod
70
75
    def probe_transport(klass, transport):
71
76
        # little ugly, but works
72
77
        # try a manual probe first, its a little faster perhaps ?
80
85
 
81
86
 
82
87
controldir.ControlDirFormat.register_prober(CVSProber)
 
88
 
 
89
register_transport_proto(
 
90
    'cvs+pserver://', help="The pserver access protocol for CVS.")