0
  7   ˆl–Ãa¾”Ò~êqA3p¸ )‹Fÿ‘äÇò 8à#‘˜Û`xÏÂƒh¹ÁÀ¿      1
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã596_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ T    ‹      Õ–ßOÛ0Çßù+<?ì­½¤@7Jê‰5H«(¥‚NÓ4MÈ�ÝÆ"±#ÛmWþú9u€0Q­H€ÊÓÝÅßøîãßÑ‡ø¢7þ9:EßÆç4úþuÐï!Ü ø±ßˆÇ±o8h!Àé#œZ[t –Ëes¹ßTzãKHmž€±Z$¶É,Ãd/*¿‘=¥œ2gQd…Í8éKÆÿ 5E æÖÆÝ+Œ/DÂMé[žCÎs¥W•	ÃC�Šñ ŠÛŸ…Gí|ß.Té¢‰b«²Šð•2ºŽ×Pt²N\ºšD6Eš‰™ìb«
L"‘Ï�ÑIƒH”40É¨¼iÎÄ#šÙ.þÕï]üv:°iù7‰(J5Ÿvñ—^wx|Ñ�1ÒœG@ŸÖœ;Í	&j,ÊSÁÙFñ•_‰ÛÍÆ^s“hQX¡äƒb5Q™)¨c=t©®«¼„ýo4hòh0F'—§ÃqÜ¿ôCÂÊ.ª{�ùÃdD5—ÅBóÄº¦ŠÎ§ú('¦8¾QU»³Ôb‚P=©|ðTeŒë:ò&Ø»z½­WùOY­ Õn„a#<Bá§NÐFèëŸË©–²àÖÃ“ JfBrL¼Ý ¢ èÁF w
�½!@‘®Ìµ_e˜Ô‚÷Š"Ês°"Yû»²ý¦(Ô’k·)¼}‰úßxShw-Ê+“{wW¦áÆRëÖfWÊß~™ù¤º4Â½ÿ�Ø9_¸»owe"žPvÄ®o•ä“Zðú([¾b zßE°~OFà_µ¿ê‚¸8    6   ˆl–Ãa¾”Ò~êqA
à^¸È”Å£�þB gd~YxmÇüÿÆƒh¹ÅÄÃ      1
  6   	ˆl–Ãa¾”Ò~êqA3p ¸TÅ£�þB gr2Ô®6ÈYþÇƒh¹ÆÅÄ      	0
  A   ˆl–Ü4ý( ©”u( 	•íÀà™S�ÿ�þBûáY¹DGÃ Â�ÏÈƒq¶›Ç_ŠI|¥�+Wé3ž¯ÇÆ ‘    # Copyright (C) 2019 Jelmer Vernooij <jelmer@samba.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 3 of the License or
# (at your option) a later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

"""Subversion foreign branch support.

Currently only tells the user that Subversion is not supported.
"""

from ... import version_info  # noqa: F401

from ... import (
    controldir,
    errors,
    transport as _mod_transport,
    )
from ...revisionspec import (
    revspec_registry,
    )


class SubversionUnsupportedError(errors.UnsupportedVcs):

    vcs = "svn"

    _fmt = ('Subversion branches are not yet supported. '
            'To interoperate with Subversion branches, use fastimport.')


class SvnWorkingTreeDirFormat(controldir.ControlDirFormat):
    """Subversion directory format."""

    def get_converter(self):
        raise NotImplementedError(self.get_converter)

    def get_format_description(self):
        return "Subversion working directory"

    def initialize_on_transport(self, transport):
        raise errors.UninitializableFormat(format=self)

    def is_supported(self):
        return False

    def supports_transport(self, transport):
        return False

    def check_support_status(self, allow_unsupported, recommend_upgrade=True,
                             basedir=None):
        raise SubversionUnsupportedError(format=self)

    def open(self, transport):
        # Raise NotBranchError if there is nothing there
        SvnWorkingTreeProber().probe_transport(transport)
        raise NotImplementedError(self.open)


class SvnWorkingTreeProber(controldir.Prober):

    @classmethod
    def priority(klass, transport):
        return 100

    def probe_transport(self, transport):
        try:
            transport.local_abspath('.')
        except errors.NotLocalUrl:
            raise errors.NotBranchError(path=transport.base)
        else:
            if transport.has(".svn"):
                return SvnWorkingTreeDirFormat()
            raise errors.NotBranchError(path=transport.base)

    @classmethod
    def known_formats(cls):
        return [SvnWorkingTreeDirFormat()]


class SvnRepositoryFormat(controldir.ControlDirFormat):
    """Subversion directory format."""

    def get_converter(self):
        raise NotImplementedError(self.get_converter)

    def get_format_description(self):
        return "Subversion repository"

    def initialize_on_transport(self, transport):
        raise errors.UninitializableFormat(self)

    def is_supported(self):
        return False

    def supports_transport(self, tra