Commits

Marcin Kuzminski committed 8ce4c8e

Bumped mercurial to 2.2 and fixed code for this release ref #429

  • Participants
  • Parent commits d9972f7

Comments (0)

Files changed (3)

 markdown==2.1.1
 docutils==0.8.1
 py-bcrypt
-mercurial>=2.1,<2.2
+mercurial>=2.2,<2.3

rhodecode/__init__.py

     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():

rhodecode/controllers/changelog.py

                 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