Mercurial > kallithea
diff rhodecode/lib/hooks.py @ 3960:5293d4bbb1ea
Merged dev into stable/default/master branch
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 07 Jun 2013 00:31:11 +0200 |
parents | 3563bb7b4b82 3208aaefc9ca |
children | cce2d984b001 |
line wrap: on
line diff
--- a/rhodecode/lib/hooks.py Mon May 20 12:26:09 2013 +0200 +++ b/rhodecode/lib/hooks.py Fri Jun 07 00:31:11 2013 +0200 @@ -29,9 +29,7 @@ import traceback from inspect import isfunction -from mercurial.scmutil import revrange -from mercurial.node import nullrev - +from rhodecode.lib.vcs.utils.hgcompat import nullrev, revrange from rhodecode.lib import helpers as h from rhodecode.lib.utils import action_logger from rhodecode.lib.vcs.backends.base import EmptyChangeset @@ -306,11 +304,8 @@ connect to database and run the logging code. Hacky as sh*t but works. :param repo_path: - :type repo_path: :param revs: - :type revs: :param env: - :type env: """ from paste.deploy import appconfig from sqlalchemy import engine_from_config