Files @ a07296564f6b
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_git.py - annotation

Mads Kiilerich
compare: show aggregated diff of what will be merged to other repo, using merge ancestor

pull_request.get_compare_data will also now return the ancestor that would be
used for actual merging. Showing a diff from that ancestor instead of the first
'new' changeset will give a more realistic diff that doesn't include merges.
1
2
3
4
5
6
7
from rhodecode.tests import *
from rhodecode.tests.api.api_base import BaseTestApi


class TestGitApi(BaseTestApi, TestController):
    REPO = GIT_REPO
    REPO_TYPE = 'git'