Commits

Marcin Kuzminski  committed 8ccac2b

fixed cs_links for deleted repos

  • Participants
  • Parent commits 8530c3c

Comments (0)

Files changed (1)

File rhodecode/lib/helpers.py

         revs_limit = 3  # display this amount always
         revs_top_limit = 50  # show upto this amount of changesets hidden
         revs_ids = action_params.split(',')
+        deleted = user_log.repository is None
+        if deleted:
+            return ','.join(revs_ids)
+
         repo_name = user_log.repository.repo_name
 
         repo = user_log.repository.scm_instance