diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 5572bd2..75d3f33 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -447,11 +447,17 @@ TiddlyWiki >> repository [ TiddlyWiki >> resynchronize [ | repository | + self + exportJSONFile; + importJSONFile. repository := self repository. repository update. self exportContentTiddlers. repository addRecentChangesFromWiki: self. - ^ self rebuildTiddlersJSON + ^ Dictionary new + at: 'status' put: repository status; + at: 'file' put: self rebuildTiddlersJSON; + yourself. ] { #category : #accessing }