Changeset - 8ce4c8e43eb7
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 14 years ago 2012-04-23 18:21:19
marcin@python-works.com
Bumped mercurial to 2.2 and fixed code for this release ref #429
3 files changed with 5 insertions and 4 deletions:
0 comments (0 inline, 0 general)
requires.txt
Show inline comments
 
@@ -11,7 +11,7 @@ babel
 
python-dateutil>=1.5.0,<2.0.0
 
dulwich>=0.8.5,<0.9.0
 
webob==1.0.8
 
markdown==2.1.1
 
docutils==0.8.1
 
py-bcrypt
 
mercurial>=2.1,<2.2
 
\ No newline at end of file
 
mercurial>=2.2,<2.3
 
\ No newline at end of file
rhodecode/__init__.py
Show inline comments
 
@@ -66,16 +66,16 @@ requirements = [
 

	
 
if __py_version__ < (2, 6):
 
    requirements.append("simplejson")
 
    requirements.append("pysqlite")
 

	
 
if __platform__ in PLATFORM_WIN:
 
    requirements.append("mercurial>=2.1,<2.2")
 
    requirements.append("mercurial>=2.2,<2.3")
 
else:
 
    requirements.append("py-bcrypt")
 
    requirements.append("mercurial>=2.1,<2.2")
 
    requirements.append("mercurial>=2.2,<2.3")
 

	
 

	
 
def get_version():
 
    """Returns shorter version (digit parts only) as string."""
 

	
 
    return '.'.join((str(each) for each in VERSION[:3]))
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -122,13 +122,14 @@ class ChangelogController(BaseRepoContro
 
            for _ in revs:
 
                vtx = [0, 1]
 
                edges = [[0, 0, 1]]
 
                data.append(['', vtx, edges])
 

	
 
        elif repo.alias == 'hg':
 
            c.dag = graphmod.colored(graphmod.dagwalker(repo._repo, revs))
 
            dag = graphmod.dagwalker(repo._repo, revs)
 
            c.dag = graphmod.colored(dag, repo._repo)
 
            for (id, type, ctx, vtx, edges) in c.dag:
 
                if type != graphmod.CHANGESET:
 
                    continue
 
                data.append(['', vtx, edges])
 

	
 
        c.jsdata = json.dumps(data)
0 comments (0 inline, 0 general)