DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
  7   ˆl–Ü4ý( ©¤ýÔâ�fãnÜŠbÑ¿‘äÇò 8àürHÂãŸÏÏƒh¹ÎÌË      unsupported
     ˆÈÇÎ515ÆÌË     ‹      ­”oo›0Æß÷Sx~±wp!¤.5L]ˆ´hm¥LÛ4MÈ`V	FæÚ”~úAÈ4%ë¦î>x|ÏýîŒÙ5¾­çäcp{CÖŸ?Ü,f„Z _F3 ?ð»c{à Ì—”Ð±œìv;{7²µI!Ø@†Û|£-PPï‚µï¼Â2ÉEó$æÒ[B>�ÐX)!ÇPC%óŒÖ¹Š ¬1ÓÅ„ªÐ*y|ÏSYAd¤|®¡ÌRUT°Å‚A—µñ�ƒ‹´¨[ç¿{5)÷ <Ú[¶Kã1ÌÈ#ÏUZ¸uI=¦¶)©LìRP±nöF9/îíT%”ð]ú}1[ýht€Y»ÛcœdF&.}?s—W+×§Þ’o%~ZsÛh®©wÃ+$[-T¢¤8+¾ëÄwêù|B¿Óø²Š�*Qéâ(…±�ë¼*yÃ:i2ÓWuñR7š÷›±¾ÞÌ—�¿Øt-mŠcu¯ŸõÖÜÈ‰¯ŒŒQ›ú ×9½-¢ª¼ú’CéF¥R�‹œTþ/Ê'ìó_ƒ“¤a¨
…ah—5õzA¿ÚßÊ†#kàXC‡8—Ó�CÈ9¡=ùôZŽDçBš>É¹™…aYÇ<ÎdB‹rŒ^dyg/‰3™:ã³,žÉ_žT8üÃö·ƒî¶ú	¡ÈUž    5   ˆl–Ü4ý( ©¤ýÔâ�fãlÜŠbÑ¿�þB g­†W‚÷óÐƒh¹ÏÍÌ      00000005
  Y   ˆl–Ü4ý( ©”u( 	•íÀà™S�ÿ�þ]Œ%Y¹DGÃ Â�ÏÑ„d-…ïÐ_ŠI|¥�+Wé3ž¯a–Ü4ý( ©¤ýÔâ�fãnÜªbÑ¿Ï ?÷     # Copyright (C) 2009-2018 Jelmer Vernooij <jelmer@jelmer.uk>
#
# 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; either version 2 of the License, or
# (at your option) any 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

"""InterRepository operations."""

import itertools

from dulwich.errors import (
    NotCommitError,
    )
from dulwich.object_store import (
    ObjectStoreGraphWalker,
    )
from dulwich.pack import PACK_SPOOL_FILE_MAX_SIZE
from dulwich.protocol import (
    CAPABILITY_THIN_PACK,
    ZERO_SHA,
    )
from dulwich.refs import (
    ANNOTATED_TAG_SUFFIX,
    SYMREF,
    )
from dulwich.walk import Walker

from ..errors import (
    DivergedBranches,
    FetchLimitUnsupported,
    InvalidRevisionId,
    LossyPushToSameVCS,
    NoRoundtrippingSupport,
    NoSuchRevision,
    )
from ..repository import (
    FetchResult,
    InterRepository,
    )
from ..revision import (
    NULL_REVISION,
    )
from .. import (
    config,
    trace,
    ui,
    )

from .errors import (
    NoPushSupport,
    )
from .fetch import (
    import_git_objects,
    DetermineWantsRecorder,
    )
from .mapping import (
    needs_roundtripping,
    )
from .object_store import (
    get_object_store,
    )
from .push import (
    MissingObjectsIterator,
    remote_divergence,
    )
from .refs import (
    is_tag,
    ref_to_tag_name,
    )
from .repository import (
    GitRepository,
    LocalGitRepository,
    GitRepositoryFormat,
    )
from .remote import (
    RemoteGitRepository,
    RemoteGitError,
    )
from .unpeel_map import (
    UnpeelMap,
    )


class InterToGitRepository(InterRepository):
    """InterRepository that copies into a Git repository."""

    _matching_repo_format = GitRepositoryFormat()

    def __init__(self, source, target):
        super().__init__(source, target)
        self.mapping = self.target.get_mapping()
        self.source_store = get_object_store(self.source, self.mapping)

    @staticmethod
    def _get_repo_format_to_test():
        return None

    def copy_content(self, revision_id=None):
        """See InterRepository.copy_content."""
        self.fetch(revision_id=revision_id, find_ghosts=False)

    def fetch_refs(self, update_refs, lossy, overwrite=False):
        """Fetch possibly roundtripped revisions into the target repository
        and update refs.

        :param update_refs: Generate refs to fetch. Receives dictionary
            with old refs (git shas), returns dictionary of new names to
            git shas.
        :param lossy: Whether to roundtrip
        :return: old refs, new refs
        """
        raise NotImplementedError(self.fetch_refs)

    def search_missing_revision_ids(self