Eliot Miranda uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-eem.614.mcz==================== Summary ====================
Name: Monticello-eem.614
Author: eem
Time: 4 May 2015, 3:54:59.534 pm
UUID: 84864628-f241-44d1-929f-0016426c5dd3
Ancestors: Monticello-mt.613
Check for an empty log message before accepting a
save.
=============== Diff against Monticello-mt.613 ===============
Item was changed:
----- Method: MCSaveVersionDialog>>accept (in category 'actions') -----
accept
+ | logMessage |
self updateItems.
+ logMessage := (self findTextMorph: #logMessage) text asString.
+ (logMessage isEmpty or: [logMessage beginsWith: 'empty log message']) ifTrue:
+ [(UIManager confirm: 'the log message is empty; are you sure you want to commit') ifFalse:
+ [^self]].
self answer:
(Array
with: (self findTextMorph: #versionName) text asString
+ with: logMessage
- with: (self findTextMorph: #logMessage) text asString
with: ignore)
!