Repositories: Only opens repositories when .fslckout doesn't exists. This code needs refactoring.
This commit is contained in:
parent
000476d2b2
commit
83281067f9
@ -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'.
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user