Created
March 2, 2012 22:40
-
-
Save dalehenrich/1961964 to your computer and use it in GitHub Desktop.
get rid of repositories that aren't in the given list of repostiroy descriptions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"run this to remove cruft before saving image for download" | |
| standardRepos | | |
standardRepos := #('http://ss3.gemstone.com/ss/Pharo14' 'http://ss3.gemstone.com/ss/FileTree' | |
'http://www.squeaksource.com/OSProcess' 'http://seaside.gemstone.com/ss/metacello' ). | |
MCRepositoryGroup default repositories do: [:repo | | |
(standardRepos includes: repo description) | |
ifFalse: [ MCRepositoryGroup default removeRepository: repo ]]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment