--- a/mercurial/HGCommitDialog.st Tue Feb 18 14:22:14 2014 +0000
+++ b/mercurial/HGCommitDialog.st Tue Feb 18 14:25:20 2014 +0000
@@ -264,14 +264,11 @@
!
doEditUserConfig
- | hgrc |
-
- hgrc := HGConfig userConfigFiles first.
- hgrc exists ifFalse:[hgrc writingFileDo:[:s|s cr]].
- WorkspaceApplication openOnFile: hgrc.
+ HGSourceCodeManagementSettingsAppl new doEditHGRC.
self doCancel.
"Created: / 07-12-2012 / 16:08:02 / jv"
+ "Modified: / 18-02-2014 / 10:35:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
doShowDiffsForEntry
@@ -535,7 +532,14 @@
doCheckAuthor
"Checks whether commit author is defined"
- self task author isNil ifTrue:[
+ | author |
+
+ author := self task author.
+
+ "/ Check for lazy users which only uncomment the line and
+ "/ does not bother with filling in proper values. See
+ "/ HGConfig userConfigFileTemplate
+ (author isNil or:[author = 'FirstName LastName <Email>']) ifTrue:[
self infoPanel
reset;
beWarning;
@@ -550,6 +554,7 @@
self doCheckHead.
"Created: / 07-12-2012 / 15:56:36 / jv"
+ "Modified: / 18-02-2014 / 11:33:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
doCheckHead