[squeak-dev] The Trunk: Monticello-ar.379.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Mar 10 01:17:40 UTC 2010
Andreas Raab uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ar.379.mcz
==================== Summary ====================
Name: Monticello-ar.379
Author: ar
Time: 9 March 2010, 5:17:17.573 pm
UUID: aa6c11d2-d53c-e44d-b802-e10b6f2d2091
Ancestors: Monticello-ar.378
Put the newer version check back into saveVersion. It prevents accidental commits when there are newer (unmerged) versions in the repository. The test got lost probably accidentally a while ago; if the removal was deliberate we should make this a preference (I'm too lazy to live without it :-)
=============== Diff against Monticello-ar.378 ===============
Item was changed:
----- Method: MCWorkingCopyBrowser>>saveVersion (in category 'actions') -----
saveVersion
| repo |
self canSave ifFalse: [^self].
+ self checkForNewerVersions ifFalse: [^self].
repo := self repository.
workingCopy newVersion ifNotNil:
[:v |
(MCVersionInspector new version: v) show.
Cursor wait showWhile: [repo storeVersion: v].
MCCacheRepository default cacheAllFileNamesDuring:
[repo cacheAllFileNamesDuring:
[v allAvailableDependenciesDo:
[:dep |
(repo includesVersionNamed: dep info name)
ifFalse: [repo storeVersion: dep]]]]]!
Item was changed:
SystemOrganization addCategory: #'Monticello-Base'!
SystemOrganization addCategory: #'Monticello-Chunk Format'!
SystemOrganization addCategory: #'Monticello-Loading'!
SystemOrganization addCategory: #'Monticello-Merging'!
SystemOrganization addCategory: #'Monticello-Modeling'!
SystemOrganization addCategory: #'Monticello-Patching'!
SystemOrganization addCategory: #'Monticello-Repositories'!
SystemOrganization addCategory: #'Monticello-Storing'!
SystemOrganization addCategory: #'Monticello-UI'!
SystemOrganization addCategory: #'Monticello-Versioning'!
- SystemOrganization addCategory: #'Monticello-Mocks'!
More information about the Squeak-dev
mailing list
|