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

Tim Mackinnon tim at testit.works
Wed Jun 13 17:21:24 EDT 2018


Hi Sean - I tried it again, and it worked:

git log --full-history -- */PrismicBlock.class*

(I got my wildcard slightly wrong for tonel format) - although the beauty of the one I gave was that it shows you all deleted classes (in case you don’t know the name)

I’m still confused why I can’t checkout the deleted class though - damn you git, for the cryptic error: : error: pathspec 'PrismicDemo/PrismicBlock.class.st <http://prismicblock.class.st/>' did not match any file(s) known to git.

I was hoping a quick hack to iceberg might be to OSProcess a few choice git commands to help us along while we work out better ways to do things.

Tim

> On 13 Jun 2018, at 21:53, Sean P. DeNigris <sean at clipperadams.com> wrote:
> 
> Tim Mackinnon wrote
>> I didn’t quite get your fu to work
> 
> Interesting.
> 
> When I searched for commits affecting the deleted class SuDebianKey:
> 
> $ git log --full-history -- */SuDebianKey.class/properties.json
> 
> I got back a list of commits (obviously with the last chronologically being
> the deletion):
> 
> commit a38fbced4abec59ff9879d4c607da80dc89b6637
> Author: Sean DeNigris <sean at Seans-MBP.home>
> Date:   Mon Jan 30 17:13:58 2017 -0500
> 
>    Extract Lots to ComputerWorld, Absorb Rest of Old ScriptingBase Project
> 
> commit 61175745d57c60a1707d5e2f9a2fc92e6c19a6ea
> Author: Sean DeNigris <sean at clipperadams.com>
> Date:   Sat Aug 20 17:14:12 2016 -0400
> 
>    Basket O' Enhancements
> ...
> 
> 
> 
> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20180613/14f610a9/attachment.html>


More information about the Pharo-users mailing list