/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-12-22 13:21:36 UTC
  • mfrom: (7413.6.1 prober-features)
  • Revision ID: breezy.the.bot@gmail.com-20191222132136-v7g7cv3zepxhzj6x
Add an optional priority method for probers.

Merged from https://code.launchpad.net/~jelmer/brz/prober-features/+merge/375187

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
class CVSProber(controldir.Prober):
69
69
 
70
70
    @classmethod
 
71
    def priority(klass, transport):
 
72
        return 100
 
73
 
 
74
    @classmethod
71
75
    def probe_transport(klass, transport):
72
76
        # little ugly, but works
73
77
        # try a manual probe first, its a little faster perhaps ?