On Tue, 11 Dec 2018 at 16:30, Alistair Grant <[email protected]> wrote:
> Hi Ben, > > On Sun, 9 Dec 2018 at 16:06, Ben Coman <[email protected]> wrote: > > > > > > For Exercism we are using Tonel in Pharo 6.1. > > We are getting an error "Instance of TonelWriter did not understand > #sourceDir:" > > but the same code works fine on Pharo 7. > > > > The 6.1 image had been updated to latest Iceberg per > https://github.com/pharo-vcs/iceberg#for-pharo-61, so I used ICeberg to > updated to latest "master" of pharo-vcs/tonel but no avail. > > > > In Pharo 7 I see TonelWriter>>sourceDir in protocol "accessing" > > but if I search for "sourceDir" in the pharo-vcs/tonel repo it doesn't > find it... > > > https://github.com/pharo-vcs/tonel/search?q=sourcedir&unscoped_q=sourcedir > > > > I'm having trouble understanding where the #sourceDir method comes from > in Pharo 7. > > Which repo/branch can I load that from into another system? > > It seems like v1.0.9 has it and master doesn't, see: > > > https://github.com/pharo-vcs/tonel/tree/v1.0.9/MonticelloTonel-Core.package/TonelWriter.class/instance > > (based on just hunting around my Pharo 7 image, I don't really > understand the code :-)) > Great work finding that. Thanks Alistair. Now the next question to the list, how would I determine which version of Tonel (e.g. v1.0.9 or v1.0.11 or commit hash) is loaded in an Image? cheers -ben
