On 9/15/15 12:32 AM, Usman Bhatti wrote:
On Fri, Sep 11, 2015 at 11:06 PM, Dale Henrichs <dale.henri...@gemtalksystems.com <mailto:dale.henri...@gemtalksystems.com>> wrote:

    Usman,

    Off topic --- I don't read all of the pharo posts on both pharo
    lists, but if you put Metacello in the subject, I have an email
    filter that alerts me and I read those (more often:) ...


Ok :)


    What you are getting with record is what would be loaded in the
    image, so my guess is that in Pharo4.0 there are equivalent or
    later versions of all the packages that would be loaded ...


In the versions prior to Pharo4, the directive showed me all the packages regardless.
I would guess that happened because the packages weren't already loaded in the image prior to Pharo4.0 ...

During a Metacello load there are two passes made a `fetch` and `load` pass ... the `fetch` pass produces a loadDirective and the `load` pass executes the loadDirective ... the `record` command (without `ignoreImage: true`) simply runs the `fetch` pass and returns the loadDirective (it also doesn't bother fetching the packages) I do it this way so that the same code is used whether you are doing a `fetch` or a `record` and reduces the changes for you to get different results from both commands ...

Dale

Reply via email to