Switch to side-by-side view
--- a/ForgeSVN/forgesvn/svn_main.py +++ b/ForgeSVN/forgesvn/svn_main.py @@ -160,4 +160,8 @@ c.user, self.app.repo, 'importing', text='''Repository import scheduled, an email notification will be sent when complete.''') + else: + M.Notification.post_user( + c.user, self.app.repo, 'error', + text="Can't import into non empty repository.") redirect(c.project.url() + 'admin/tools')