From df3206d70cb1f0eb2b84e35d65a5e899b1943e54 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 26 Feb 2016 12:58:17 +0000 Subject: [PATCH] Update > Tutorial: Cleaning dirty code. --- .../Grafoscopio/GrafoscopioBrowser.class.st | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioBrowser.class.st b/repository/Grafoscopio/GrafoscopioBrowser.class.st index ebbf84c..480430b 100644 --- a/repository/Grafoscopio/GrafoscopioBrowser.class.st +++ b/repository/Grafoscopio/GrafoscopioBrowser.class.st @@ -328,30 +328,6 @@ GrafoscopioBrowser class >> updateDocumentation [ ]. ] -{ #category : #updating } -GrafoscopioBrowser class >> updateDocumentationOld [ - -| localRepository remoteRepository | - -localRepository := FileSystem disk workingDirectory parent / 'grafoscopio.fossil'. -remoteRepository := 'http://mutabit.com/deltas/repos.fossil/grafoscopio/'. - -localRepository exists - ifFalse: [ - OSProcess command: 'exec ', fossil, ' clone ' , remoteRepository, ' ', localRepository fullName. - OSProcess command: 'exec echo "Repositorio clonado."'. - ] - ifTrue: [ - (FileSystem disk workingDirectory parent / '.flsckout') exists - ifFalse: [ - OSProcess command: 'exec ', fossil, ' open ', localRepository fullName . - OSProcess command: 'exec echo "Repositorio abierto."'. - ] . - OSProcess command: 'exec ', fossil, ' update ' . - OSProcess command: 'exec echo "Repositorio actualizado."'. - ] -] - { #category : #updating } GrafoscopioBrowser class >> updateDocumentationTemp [ "Updates documentation (manual, tutorials) from official repository" @@ -535,7 +511,7 @@ GrafoscopioBrowser class >> updateTutorial [ | update filePath fileLocation client docs | update := (UIManager default confirm: '¿Desea actualizar la documentación?' - label: 'Actualizar documentación'). + label: 'Actualizar el tutorial'). update ifTrue: [ docs := Dictionary