🎨 云端同步发生冲突时生成副本 https://github.com/siyuan-note/siyuan/issues/5687

This commit is contained in:
Liang Ding 2022-08-21 13:02:04 +08:00
parent 581c1b4942
commit 6fa5f21dbb
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -553,7 +553,7 @@ func syncRepo(boot, exit, byHand bool) (err error) {
absPath := filepath.Join(util.TempDir, "repo", "sync", "conflicts", file.Path)
tree, loadTreeErr := loadTree(absPath, luteEngine)
if nil != loadTreeErr {
logging.LogErrorf("loadd conflicted file [%s] failed: %s", absPath, loadTreeErr)
logging.LogErrorf("load conflicted file [%s] failed: %s", absPath, loadTreeErr)
continue
}
tree.Box = boxID