Skip to content

Instantly share code, notes, and snippets.

@npasserini
Created May 26, 2016 10:49
Show Gist options
  • Select an option

  • Save npasserini/5e35f7e4c599850e40d81baf318b1fa2 to your computer and use it in GitHub Desktop.

Select an option

Save npasserini/5e35f7e4c599850e40d81baf318b1fa2 to your computer and use it in GitHub Desktop.
"See if the monticello registry has misplaced objects (i.e. not MCPackages)"
MCWorkingCopy registry keys collect: #class as: Set.
"Clean the registry"
MCWorkingCopy registry removeKey:
(MCWorkingCopy registry keys detect: [ :key | key class ~= MCPackage ]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment