# HG changeset patch # User RhodeCode Admin # Date 2023-04-20 14:04:18 # Node ID 43b5c59f079a3e08602eecffba25fc7670dbb172 # Parent 4d8f2d38ee0d628808d422f9ab62968035281371 svn: fixed case for float timestamp diff --git a/vcsserver/remote/svn.py b/vcsserver/remote/svn.py --- a/vcsserver/remote/svn.py +++ b/vcsserver/remote/svn.py @@ -447,7 +447,7 @@ class SvnRemote(RemoteBase): commit_id = svn.repos.fs_commit_txn(repo, txn) if timestamp: - apr_time = apr_time_t(timestamp) + apr_time = int(apr_time_t(timestamp)) ts_formatted = svn.core.svn_time_to_cstring(apr_time) svn.fs.change_rev_prop(fsobj, commit_id, 'svn:date', ts_formatted)