Question

After renaming a Package/Category in Pharo 2.0 that is also under version control in a Monticello package of the same name, how to proceed?

  • can i proceed with now renamed packages/categories in a Monticello package with an old, other name?
  • can i rename Monticello packages accordingly with/without keeping the history intact?

What i ended up with for the moment is, loading the renamed Package/Category into a fresh image, creating a new Monticello package there and losing the history.

Was it helpful?

Solution

When I want to rename a package I follow these steps:

  1. Change the package name in Nautilus
  2. Create a package in Monticello with the new name and commit it
  3. Create a final and empty commit with the old package name and a comment giving the new name of the package
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top