Repositories: Only opens repositories when .fslckout doesn't exists. This code needs refactoring.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2015-07-11 17:23:03 +00:00
parent 000476d2b2
commit 83281067f9

View File

@ -789,8 +789,12 @@ GrafoscopioBrowser >> defineRemoteRepository [
OS2Process command:
'cd ', localRepoDirectory asFileReference fullName, '; ',
fossil, ' clone ', remoteRepoUrl, ' reco2.fossil; ',
fossil, ' open reco2.fossil'.
'echo "commit sended to the repository"'.
'echo "Repositorio clonado"'.
(localRepoDirectory / '.fslckout') exists ifFalse: [
OS2Process command:
'cd ', localRepoDirectory asFileReference fullName, '; ',
fossil, ' open reco2.fossil; ',
'echo "Repositorio clonado"'].
self inform: 'Repositorio remoto definido y activado'.
]