Improving resynchronize.

This commit is contained in:
ruidajo 2022-03-04 11:10:16 -05:00
parent 4764f989b7
commit 009bd3e059

View File

@ -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 }