If you're positive the only way to access the repositories is through svn+ssh, so you have N users that can access, you can group them under a new group ie. "svnusers" and then use the directive "DenyGroups svnusers" under the file /etc/ssh/sshd_config (remember to restart sshd). That would effectively put a "maintenance mode" (disabled ssh for that group) that you can revert and restart sshd again.
Juanga Covas >During the migration phase I would like to disable the >svn (svn+ssh://) service temporarily on the Ubuntu 20.04 >system. Is there any easy way to do it?