Mercurial > kallithea
comparison rhodecode/controllers/changeset.py @ 2684:2b6939a77052 beta
Bumped mercurial version to 2.3
- fixed issues with compare of two remote repos at particular revisions
- added tests for cases when mercurial update broke code and tests didn't catch this
- removed obsolete EmptyChangeset from the rhodecode code
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 04 Aug 2012 01:20:38 +0200 |
parents | 4fbbc65e8cd5 |
children | 63e58ef80ef1 bf3c976d02ec |
comparison
equal
deleted
inserted
replaced
2683:eaf1782bee64 | 2684:2b6939a77052 |
---|---|
38 from rhodecode.lib.vcs.nodes import FileNode | 38 from rhodecode.lib.vcs.nodes import FileNode |
39 | 39 |
40 import rhodecode.lib.helpers as h | 40 import rhodecode.lib.helpers as h |
41 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator | 41 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator |
42 from rhodecode.lib.base import BaseRepoController, render | 42 from rhodecode.lib.base import BaseRepoController, render |
43 from rhodecode.lib.utils import EmptyChangeset, action_logger | 43 from rhodecode.lib.utils import action_logger |
44 from rhodecode.lib.compat import OrderedDict | 44 from rhodecode.lib.compat import OrderedDict |
45 from rhodecode.lib import diffs | 45 from rhodecode.lib import diffs |
46 from rhodecode.model.db import ChangesetComment, ChangesetStatus | 46 from rhodecode.model.db import ChangesetComment, ChangesetStatus |
47 from rhodecode.model.comment import ChangesetCommentsModel | 47 from rhodecode.model.comment import ChangesetCommentsModel |
48 from rhodecode.model.changeset_status import ChangesetStatusModel | 48 from rhodecode.model.changeset_status import ChangesetStatusModel |
49 from rhodecode.model.meta import Session | 49 from rhodecode.model.meta import Session |
50 from rhodecode.lib.diffs import wrapped_diff | 50 from rhodecode.lib.diffs import wrapped_diff |
51 from rhodecode.model.repo import RepoModel | 51 from rhodecode.model.repo import RepoModel |
52 from rhodecode.lib.exceptions import StatusChangeOnClosedPullRequestError | 52 from rhodecode.lib.exceptions import StatusChangeOnClosedPullRequestError |
53 from rhodecode.lib.vcs.backends.base import EmptyChangeset | |
53 | 54 |
54 log = logging.getLogger(__name__) | 55 log = logging.getLogger(__name__) |
55 | 56 |
56 | 57 |
57 def _update_with_GET(params, GET): | 58 def _update_with_GET(params, GET): |