I'm not sure why but Metacello will not download github repo if directory already exists

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

I'm not sure why but Metacello will not download github repo if directory already exists

Paul DeBruicker
Hi Dale,


In GS 3.3.1 and 3.4.3 I'm having an issue when I try to clone two different git repos from the same github organization and it fails because of a directory exists error.  The conflict checking code doesn't seem to be looking at the github organization level, not the repo level.  But from looking in the github-cache directory there are multiple repos in the GsDevKit_home directory.  So I'm kind of confused.  


I'm trying to load:


Metacello new
        baseline:'MaterialDesignLite';
        repository:'github://dunest/MaterialDesignLite:75d9b7e8602/src';
  onConflict: [ :ex | ex allow ];
        onLock: [ :ex | ex honor ];
        load

and that should give the error.



Where is that conflict check done?  


Thanks


Paul

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.