@@ -90,13 +90,13 @@ class ChangelogController(BaseController
offset = 1 if p == 1 else ((p - 1) * revcount + 1)
rev_start = repo.revisions[(-1 * offset)]
revcount = min(max_rev, revcount)
rev_end = max(0, rev_start - revcount)
dag = graph_rev(repo.repo, rev_start, rev_end)
dag = graph_rev(repo._repo, rev_start, rev_end)
c.dag = tree = list(colored(dag))
data = []
for (id, type, ctx, vtx, edges) in tree:
if type != CHANGESET:
continue
from rhodecode.tests import *
ARCHIVE_SPECS = {
'.tar.bz2': ('application/x-tar', 'tbz2', ''),
'.tar.gz': ('application/x-tar', 'tgz', ''),
'.tar.bz2': ('application/x-bzip2', 'tbz2', ''),
'.tar.gz': ('application/x-gzip', 'tgz', ''),
'.zip': ('application/zip', 'zip', ''),
}
class TestFilesController(TestController):
def test_index(self):
Status change: