Improving resynchronize.
This commit is contained in:
parent
4b49160bb1
commit
557848b3a7
@ -35,9 +35,7 @@ TiddlyWiki >> addRecentChangesToRepo [
|
|||||||
|
|
||||||
| docsSton docsStonSanitized recentTiddlers repository |
|
| docsSton docsStonSanitized recentTiddlers repository |
|
||||||
repository := self repository.
|
repository := self repository.
|
||||||
self
|
self updateFromHtml.
|
||||||
exportJSONFile;
|
|
||||||
importJSONFile.
|
|
||||||
recentTiddlers := self changesAfter: repository checkoutDateAndTime.
|
recentTiddlers := self changesAfter: repository checkoutDateAndTime.
|
||||||
docsSton := recentTiddlers collect: [:each | each exportSTONFile].
|
docsSton := recentTiddlers collect: [:each | each exportSTONFile].
|
||||||
"Collecting tiddlers file reference as string and adding to the repo"
|
"Collecting tiddlers file reference as string and adding to the repo"
|
||||||
@ -520,7 +518,6 @@ TiddlyWiki >> resynchronizeWithRepository [
|
|||||||
| repository return |
|
| repository return |
|
||||||
repository := self repository.
|
repository := self repository.
|
||||||
repository update.
|
repository update.
|
||||||
self updateFromHtml.
|
|
||||||
repository syncUnversioned.
|
repository syncUnversioned.
|
||||||
return := Dictionary new
|
return := Dictionary new
|
||||||
at: 'status' put: self addRecentChangesToRepo.
|
at: 'status' put: self addRecentChangesToRepo.
|
||||||
|
Loading…
Reference in New Issue
Block a user