You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
push: the warning for an unreadable saved text is never printed #58
After a successful edit, push --apply reads back the text the wiki stored. If that read fails, core.Push still records the new revision, falls back to the text it sent, and puts the reason in PushResult.Detail:
pushed, but could not read back the saved text: <error>
cmdPush never prints Detail for a pushed page, so the warning is lost. Against a fake wiki whose edit succeeds and whose read-back returns internal_api_error, push --apply prints only:
logging in as Me@wikisync (from WIKISYNC_USERNAME_EXAMPLE)
pushed "Page" (now rev 2)
That leaves the baseline holding the text as sent rather than as stored, with no sign of it. The wiki may have normalised the text (it trims trailing whitespace, for one).
Fix: print the detail as a warning on stderr. The edit did land, so the exit code stays 0.
Activity
chore: bump version to 0.5.1 (#63)