[Pkg] Sake : Sake-Core-kph.86.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Sun Dec 14 00:02:49 UTC 2008
A new version of Sake-Core was added to project Sake :
http://www.squeaksource.com/Sake/Sake-Core-kph.86.mcz
==================== Summary ====================
Name: Sake-Core-kph.86
Author: kph
Time: 14 December 2008, 12:02:47 am
UUID: a8b6e2a5-d959-4a39-8389-b4cb6d895375
Ancestors: Sake-Core-kph.85
adopt the ancestry of the version in the master repo
=============== Diff against Sake-Core-kph.85 ===============
Item was changed:
----- Method: MCWorkingCopy>>taskSaveIn:withComment: (in category '*sake-core') -----
taskSaveIn: repo withComment: message
+ "The repo is the one we are maintaining. If there are no changes then adopt the one in the repo as the master"
+
^ SakeTask define: [ :task |
+ task if: [ self needsSaving ].
- task if: [ self needsSaving and: [ (self changesRelativeToRepository: repo) isEmpty not ] ].
task action: [ self repositoryGroup addRepository: repo.
+
+ (self changesRelativeToRepository: repo) isEmpty
+ ifTrue: [ ancestry := MCWorkingAncestry new addAncestor: (repo closestAncestorVersionFor: ancestry ifNone:[]) info; yourself.
+ self modified: false.
+ self setMyRepositoryFromLastAdded ]
+ ifFalse: [
+ repo storeVersion: (self newVersionWithName: self uniqueVersionName message: message)]
+ ]
+ ]
- repo storeVersion: (self newVersionWithName: self uniqueVersionName message: message)
- ]
-
- ].
!
More information about the Packages
mailing list