This is an automated email from the ASF dual-hosted git repository. dill0wn pushed a commit to branch dw/8565 in repository https://gitbox.apache.org/repos/asf/allura.git
commit 5f04cbe3981839bd7cffbecea256984e4f8981b9 Author: Dillon Walls <dillon.wa...@slashdotmedia.com> AuthorDate: Wed Jul 17 20:57:38 2024 +0000 [#8565] fix a bad usage of update_partial --- ForgeSVN/forgesvn/model/svn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py index e85624d8a..6d210f128 100644 --- a/ForgeSVN/forgesvn/model/svn.py +++ b/ForgeSVN/forgesvn/model/svn.py @@ -450,8 +450,8 @@ class SVNImplementation(M.RepositoryImplementation): path = tree_path.strip('/') RM.LastCommitDoc.m.update_partial( {'commit_id': commit_id, 'path': path}, - {'commit_id': commit_id, 'path': - path, 'entries': lcd_entries}, + {'$set': {'commit_id': commit_id, 'path': + path, 'entries': lcd_entries}}, upsert=True) return tree_id