<p>…age-cache.</p>
<p>MCRepository>>includesVersionNamed: does not check explicit version name,<br>
so this may do the wrong thing when checking the cache:<br>
version := ((MCCacheRepository default includesVersionNamed: latestVersion)<br>
ifTrue: [MCCacheRepository default]<br>
ifFalse: [repository]) versionNamed: latestVersion.</p>
<p>Therefore do this instead:<br>
version := (MCCacheRepository default versionNamed: latestVersion)<br>
ifNil: [repository versionNamed: latestVersion].</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix image MC loading glitch in image build scripts when checking package-cache.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466/files#diff-0">image/BuildPharo6VMMakerImage.st</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466/files#diff-1">image/BuildSqueakSpurTrunkVMMakerImage.st</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466/files#diff-2">image/LoadFFI.st</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466/files#diff-3">image/LoadReader.st</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466/files#diff-4">image/LoadSistaSupport.st</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466.patch'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466.patch</a></li>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466.diff'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466?email_source=notifications&email_token=AIJPEW3JLIQOOP7UNMFEKRDQ4ENMXA5CNFSM4KCYPT3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBKM2Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW35ZN3RE3QJWLCPJNLQ4ENMXANCNFSM4KCYPT3A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW67JCF3WDMXCC6NSNDQ4ENMXA5CNFSM4KCYPT3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBKM2Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466?email_source=notifications\u0026email_token=AIJPEW3JLIQOOP7UNMFEKRDQ4ENMXA5CNFSM4KCYPT3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBKM2Q",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/466?email_source=notifications\u0026email_token=AIJPEW3JLIQOOP7UNMFEKRDQ4ENMXA5CNFSM4KCYPT3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEBKM2Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>