Hi Andrew. It is known and super annoying bug Metacello script never checkout/switch to requested branch/tag/commit <https://github.com/pharo-vcs/iceberg/issues/479>.
2017-12-04 13:04 GMT+01:00 Prof. Andrew P. Black <bl...@cs.pdx.edu>: > In the baseline configuration of my project, it says > > spec > baseline: 'SmaCC' > with: [ spec repository: 'github://apblack/SmaCC:working' ]. > > Later, I have a parser that depends on 'SmaCC'. > > However, when I load my baseline, it seems to load from the current branch > of the local clone of *apblack/SmaCC* in my file system. That is, my > local clone was on branch *master*, so *master* was loaded, rather than > *working*. > > What am I doing wrong, and how do I fix the baseline so that the correct > branch is loaded? > > Andrew > > The complete baseline is as follows: > > baseline: spec > <baseline> > > spec for: #'common' do: [ > spec > baseline: 'SmaCC' > with: [ spec repository: 'github://apblack/SmaCC:working' ]. > spec > baseline: 'FileDialog' > with: [ spec repository: 'github://peteruhnak/file-dialog/repository' ]. > spec package: 'Grace-Scope'. > spec package: 'Grace-Names' with: [ spec requires: {'Grace-Parser' . > 'Grace-Scope'} ]. > spec package: 'Grace-Parser' with: [ spec requires: {'SmaCC' . > 'Grace-Scope'} ]. > spec package: 'Grace-IDE' with: [ > spec requires: {'FileDialog' . 'Grace-Compiler'} ]. > spec package: 'Grace-Compiler' with: [ > spec requires: {'Grace-Parser' . 'Grace-Names'} ]. > spec package: 'GraceTests' with: [ spec requires: {'Grace-Parser' . > 'Grace-Names'} ] > ] > >