[Pharo-users] Iceberg - finding deleted classes, reverting versions?

Sean P. DeNigris sean at clipperadams.com
Wed Jun 13 12:23:48 EDT 2018


Tim Mackinnon wrote
> Hi - I am interested in what the future holds with Iceberg for things like
> finding deleted classes or reverting to older versions of things.

Great question! It used to be in the Change Sorter that delections were
logged and reversible. At some point that stopped working and then I moved
to git so I don't know if it was ever fixed. Obviously, that only looks back
w/in the current image which doesn't fully solve your issue. The cool thing
about git is that we inherit all its functionality - the good and bad. So
iot got me wondering whether we could drop down to the command line for the
time being. After some googling and experimentation, I came up with the
following:

    git log --full-history -- */{{className}}.class/properties.json

NB. I had to add the properties.json because directories don't work, but
that may not be needed with Tonel



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



More information about the Pharo-users mailing list