Changeset - 48896664e987
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 15 years ago 2011-01-21 01:22:10
marcin@python-works.com
fixes for issue #104, code rewrites for vcs 0.2
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -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
rhodecode/tests/functional/test_files.py
Show inline comments
 
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):
0 comments (0 inline, 0 general)