Skip to content

Commit

Permalink
Unify snapshot method with Monticello
Browse files Browse the repository at this point in the history
Iceberg implemented its own MCPackage>>snapshot method to modify the one of Monticello. 

The method of Monticello was updated to use the same change as Iceberg but also it was updated to reduce the number of categories (package-tag) manipulations. I want to check here if we could use this new version for Iceberg too as a step toward getting rid of the categories in Pharo
  • Loading branch information
jecisc committed Sep 4, 2023
1 parent e5d10cc commit 1778263
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion Iceberg/IceWorkingCopy.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ IceWorkingCopy >> snapshotFor: package [
IceWorkingCopy >> snapshotForPackage: aPackage [

^ aPackage isLoaded
ifTrue: [ (MCPackage named: aPackage name) basicSnapshot ]
ifTrue: [ (MCPackage named: aPackage name) snapshot ]
ifFalse: [ self referenceCommit snapshotForPackage: aPackage ]
]

Expand Down
20 changes: 0 additions & 20 deletions Iceberg/MCPackage.extension.st

This file was deleted.

0 comments on commit 1778263

Please sign in to comment.