[Pharo-dev] Tonel>>sourceDir

Alistair Grant akgrant0710 at gmail.com
Tue Dec 11 03:29:56 EST 2018


Hi Ben,

On Sun, 9 Dec 2018 at 16:06, Ben Coman <btc at openinworld.com> 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 :-))

HTH,
Alistair



More information about the Pharo-dev mailing list