2015-07-08 12:45 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
Hi Nicolai,
I had to also do this (this is ugly and I shouldn't query class types, but maybe this should be fixed elsewhere anyway) MCDefinitionIndex>>addAll: aCollection aCollection do: [ :ea | (ea isKindOf: OrderedCollection) ifTrue: [ self addAll: ea ] ifFalse: [ self add: ea ] ]
Because aCollection can now be also collection of collections.
Yes?
But after both those changes it looks like a correct changeset.
Peter
On Wed, Jul 8, 2015 at 11:59 AM, Nicolai Hess <nicolaihess@web.de> wrote:
There is a bug on how it collects all definitions from all dependencies.
@Peter can you fix this please, it is a missing yourself in
MCWorkingCopy>>#loadRemoteDependenciesIn:
...
^ dependencies inject: OrderedCollection new into: [ :all :deps| all addAll: deps;yourself ]
2015-07-07 14:19 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com>:
Hi,
I'm encountering very strange slice+changes behavior and I am not sure wtf is going on... because it's showing that there are changes in untouched code...
So imagine I've changed two packages "Spec-Core" and "Spec-Examples"
If I create a slice for the package independently, then displaying changes looks fine
Spec-Core Changes
â or
Spec-Examples Changes
â so far so good, but if I in the slice maker select both packages... and then check the changes this shows up
â which is wtf... I didn't touch AbstractAdapter nor other classes. It's almost like it's comparing "Spec-Examples" against "Spec-Core"
If I (after creating slice for both packages) select "Spec-Core" it's complaining about removed classes... which are from "Spec-Examples"
â âHowever "Spec-Examples" still looks just fine
â What is going on? What am I missing?
This is not the first time I am making slices, but I've never encountered this.
Thanks, Peter