comparison rhodecode/controllers/changeset.py @ 4186:7e5f8c12a3fc kallithea-2.2.5-rebrand

First step in two-part process to rename directories to kallithea. This first step is to change all references in the files where they refer to the old directory name.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:04:28 -0400
parents ffd45b185016
children
comparison
equal deleted inserted replaced
4185:aaa7c3331186 4186:7e5f8c12a3fc
10 # GNU General Public License for more details. 10 # GNU General Public License for more details.
11 # 11 #
12 # You should have received a copy of the GNU General Public License 12 # You should have received a copy of the GNU General Public License
13 # along with this program. If not, see <http://www.gnu.org/licenses/>. 13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14 """ 14 """
15 rhodecode.controllers.changeset 15 kallithea.controllers.changeset
16 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 17
18 changeset controller for pylons showoing changes beetween 18 changeset controller for pylons showoing changes beetween
19 revisions 19 revisions
20 20
30 from webob.exc import HTTPForbidden, HTTPBadRequest, HTTPNotFound 30 from webob.exc import HTTPForbidden, HTTPBadRequest, HTTPNotFound
31 31
32 from pylons import tmpl_context as c, url, request, response 32 from pylons import tmpl_context as c, url, request, response
33 from pylons.i18n.translation import _ 33 from pylons.i18n.translation import _
34 from pylons.controllers.util import redirect 34 from pylons.controllers.util import redirect
35 from rhodecode.lib.utils import jsonify 35 from kallithea.lib.utils import jsonify
36 36
37 from rhodecode.lib.vcs.exceptions import RepositoryError, \ 37 from kallithea.lib.vcs.exceptions import RepositoryError, \
38 ChangesetDoesNotExistError 38 ChangesetDoesNotExistError
39 39
40 import rhodecode.lib.helpers as h 40 import kallithea.lib.helpers as h
41 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator,\ 41 from kallithea.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator,\
42 NotAnonymous 42 NotAnonymous
43 from rhodecode.lib.base import BaseRepoController, render 43 from kallithea.lib.base import BaseRepoController, render
44 from rhodecode.lib.utils import action_logger 44 from kallithea.lib.utils import action_logger
45 from rhodecode.lib.compat import OrderedDict 45 from kallithea.lib.compat import OrderedDict
46 from rhodecode.lib import diffs 46 from kallithea.lib import diffs
47 from rhodecode.model.db import ChangesetComment, ChangesetStatus 47 from kallithea.model.db import ChangesetComment, ChangesetStatus
48 from rhodecode.model.comment import ChangesetCommentsModel 48 from kallithea.model.comment import ChangesetCommentsModel
49 from rhodecode.model.changeset_status import ChangesetStatusModel 49 from kallithea.model.changeset_status import ChangesetStatusModel
50 from rhodecode.model.meta import Session 50 from kallithea.model.meta import Session
51 from rhodecode.model.repo import RepoModel 51 from kallithea.model.repo import RepoModel
52 from rhodecode.lib.diffs import LimitedDiffContainer 52 from kallithea.lib.diffs import LimitedDiffContainer
53 from rhodecode.lib.exceptions import StatusChangeOnClosedPullRequestError 53 from kallithea.lib.exceptions import StatusChangeOnClosedPullRequestError
54 from rhodecode.lib.vcs.backends.base import EmptyChangeset 54 from kallithea.lib.vcs.backends.base import EmptyChangeset
55 from rhodecode.lib.utils2 import safe_unicode, safe_str 55 from kallithea.lib.utils2 import safe_unicode, safe_str
56 56
57 log = logging.getLogger(__name__) 57 log = logging.getLogger(__name__)
58 58
59 59
60 def _update_with_GET(params, GET): 60 def _update_with_GET(params, GET):