/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/darcs/__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:
74
74
class DarcsProber(controldir.Prober):
75
75
 
76
76
    @classmethod
 
77
    def priority(klass, transport):
 
78
        return 100
 
79
 
 
80
    @classmethod
77
81
    def probe_transport(klass, transport):
78
82
        if transport.has('_darcs'):
79
83
            return DarcsDirFormat()