--- a/mercurial/HGRemote.st Wed Mar 13 22:23:24 2019 +0100
+++ b/mercurial/HGRemote.st Wed Mar 13 22:25:30 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
stx:libscm - a new source code management library for Smalltalk/X
Copyright (C) 2012-2015 Jan Vrany
@@ -87,13 +89,15 @@
!HGRemote methodsFor:'displaying'!
displayString
- self isDefault ifTrue:[
- ^ name asText allBold , ' - ', url asString
- ] ifFalse:[
- ^ name , ' - ', url asString
- ]
+ |namePart|
+
+ namePart := self isDefault
+ ifTrue:[ name allBold]
+ ifFalse:[name].
+ ^ namePart , ' - ', url asString
"Created: / 10-12-2012 / 01:33:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 13-03-2019 / 22:03:41 / Claus Gittinger"
! !
!HGRemote methodsFor:'initialization'!