diff --git a/hgwebdir.config b/hgwebdir.config --- a/hgwebdir.config +++ b/hgwebdir.config @@ -8,7 +8,6 @@ hgext.highlight= [web] push_ssl = false -contact = develop@etelko.pl allow_archive = gz zip bz2 allow_push = * templates=/home/marcink/python_workspace/hg_app/pylons_app/templates/ diff --git a/pylons_app/controllers/hg.py b/pylons_app/controllers/hg.py --- a/pylons_app/controllers/hg.py +++ b/pylons_app/controllers/hg.py @@ -2,7 +2,8 @@ # -*- coding: utf-8 -*- import logging from pylons_app.lib.base import BaseController, render -from pylons import c, g, session, h, request +from pylons import c, g, session, request +from pylons_app.lib import helpers as h from mako.template import Template from pprint import pprint import os @@ -31,6 +32,10 @@ class HgController(BaseController): return template.render(g = g, c = c, session = session, h = h) + + def manage_hgrc(self): + pass + def add_repo(self, new_repo): c.staticurl = g.statics diff --git a/pylons_app/lib/colored_logger.py b/pylons_app/lib/colored_logger.py deleted file mode 100644 --- a/pylons_app/lib/colored_logger.py +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/pylons_app/templates/monoblue_custom/notfound.tmpl b/pylons_app/templates/monoblue_custom/notfound.tmpl --- a/pylons_app/templates/monoblue_custom/notfound.tmpl +++ b/pylons_app/templates/monoblue_custom/notfound.tmpl @@ -1,7 +1,5 @@ {header} {repo|escape}: Mercurial repository not found - - @@ -15,14 +13,14 @@

The specified repository "{repo|escape}" is unknown, sorry.

-

Please go back to the main repository list page.

- +

Create "{repo|escape}" repository

+

Go back to the main repository list page.

-

mercurial

+

mercurial

diff --git a/pylons_app/templates/monoblue_custom/summary.tmpl b/pylons_app/templates/monoblue_custom/summary.tmpl --- a/pylons_app/templates/monoblue_custom/summary.tmpl +++ b/pylons_app/templates/monoblue_custom/summary.tmpl @@ -27,7 +27,9 @@
  • files
  • - +
    name