diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 99c3624..0426600 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -112,7 +112,7 @@ TiddlyWiki >> detectRepositoryLocal [ | folder folderItems | folder := self file parent. folderItems := folder children. - [(folderItems select: [ :path | path basename beginsWith: '.fossil' ]) isEmpty + [(folderItems select: [ :path | path basename beginsWith: '.fslckout' ]) isEmpty and:[ (folder = FileLocator root) not ]] whileTrue: [folder := folder parent. folderItems := folder children.].