Mercurial > kallithea
comparison pylons_app/lib/utils.py @ 252:3782a6d698af
licensing updates, code cleanups
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 04 Jun 2010 13:08:29 +0200 |
parents | fb7f066126cc |
children | 0e5455fda8fd |
comparison
equal
deleted
inserted
replaced
251:127dba22e53b | 252:3782a6d698af |
---|---|
1 #!/usr/bin/env python | |
2 # encoding: utf-8 | |
3 # Utilities for hg app | |
4 # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> | |
5 | |
6 # This program is free software; you can redistribute it and/or | |
7 # modify it under the terms of the GNU General Public License | |
8 # as published by the Free Software Foundation; version 2 | |
9 # of the License or (at your opinion) any later version of the license. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, | |
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 # GNU General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU General Public License | |
17 # along with this program; if not, write to the Free Software | |
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
19 # MA 02110-1301, USA. | |
20 | |
21 """ | |
22 Created on April 18, 2010 | |
23 Utilities for hg app | |
24 @author: marcink | |
25 """ | |
26 | |
1 import os | 27 import os |
2 import logging | 28 import logging |
3 from mercurial import ui, config, hg | 29 from mercurial import ui, config, hg |
4 from mercurial.error import RepoError | 30 from mercurial.error import RepoError |
5 log = logging.getLogger(__name__) | 31 log = logging.getLogger(__name__) |