#FEATURE
authorClaus Gittinger <cg@exept.de>
Wed, 30 Sep 2015 17:18:44 +0200
changeset 3906 0b1447ec43b9
parent 3905 87c2cce8c597
child 3907 2d10ee6c6f08
#FEATURE class: SourceCodeManagerUtilities changed: #diffSetOfProject:againstRepositoryVersionFrom:orTag: #getLogMessageForClassCheckinTakingDefaultsFromPreviousLogInfo:forClass:valuesInto: sort project diffSet by class name
SourceCodeManagerUtilities.st
--- a/SourceCodeManagerUtilities.st	Wed Sep 30 17:13:46 2015 +0200
+++ b/SourceCodeManagerUtilities.st	Wed Sep 30 17:18:44 2015 +0200
@@ -3036,6 +3036,8 @@
         ^ diffSet.
     ].
 
+    diffSet sortByClassName.
+    
     "/ as a side-effect, if we find that some classes are modified but the same as in the repository,
     "/ give user a chance to cleanup the changeSet here.
     aDateOrNilForNewest isNil ifTrue:[
@@ -3275,6 +3277,14 @@
             ] ifFalse:[ 
                 checkinInfo checkinReason == Tools::CheckinInfoDialog reasonRefactoring ifTrue:[
                     reasonLine := '#REFACTORING' 
+                ] ifFalse:[ 
+                    checkinInfo checkinReason == Tools::CheckinInfoDialog reasonDocumentation ifTrue:[
+                        reasonLine := '#DOCUMENTATION' 
+                    ] ifFalse:[ 
+                        checkinInfo checkinReason == Tools::CheckinInfoDialog reasonUIEnhancement ifTrue:[
+                            reasonLine := '#UI_ENHANCEMENT' 
+                        ]
+                    ]
                 ]
             ]
         ]