Improving resynchronize.

This commit is contained in:
ruidajo 2022-03-17 15:24:01 -05:00
parent 4b49160bb1
commit 557848b3a7

View File

@ -35,9 +35,7 @@ TiddlyWiki >> addRecentChangesToRepo [
| docsSton docsStonSanitized recentTiddlers repository |
repository := self repository.
self
exportJSONFile;
importJSONFile.
self updateFromHtml.
recentTiddlers := self changesAfter: repository checkoutDateAndTime.
docsSton := recentTiddlers collect: [:each | each exportSTONFile].
"Collecting tiddlers file reference as string and adding to the repo"
@ -520,7 +518,6 @@ TiddlyWiki >> resynchronizeWithRepository [
| repository return |
repository := self repository.
repository update.
self updateFromHtml.
repository syncUnversioned.
return := Dictionary new
at: 'status' put: self addRecentChangesToRepo.