annotate kallithea/tests/vcs/test_repository.py @ 7209:45a281a0f36f

tests: Remove metaprogramming constructs for vcs test classes (issue #309): - Removed use of the globals() and type() constructs to programatically instantiate Git/Mercurial-specific test classes. This should make it a bit clearer what tests are being run at the expense of possible future VCS additions. - Removed the SCM_TESTS VCS test configuration variable, since it got removed. Previously it was used for instantiating test classes. - Updated small snippet of inline documentation that described the use of SCM_TESTS variable. New text points to inheriting from generic test classes instead. - base.py had a dead snippet - kill it.
author Branko Majic <branko@majic.rs>
date Fri, 23 Feb 2018 13:29:03 +0100
parents 8f3469917832
children 0a277465fddf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 import datetime
7117
5c9eb37bdec4 tests: cleanup imports
Branko Majic <branko@majic.rs>
parents: 7116
diff changeset
2
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
3 import pytest
7117
5c9eb37bdec4 tests: cleanup imports
Branko Majic <branko@majic.rs>
parents: 7116
diff changeset
4
5c9eb37bdec4 tests: cleanup imports
Branko Majic <branko@majic.rs>
parents: 7116
diff changeset
5 from kallithea.lib.vcs.nodes import FileNode
5c9eb37bdec4 tests: cleanup imports
Branko Majic <branko@majic.rs>
parents: 7116
diff changeset
6 from kallithea.lib.vcs.exceptions import ChangesetDoesNotExistError
5c9eb37bdec4 tests: cleanup imports
Branko Majic <branko@majic.rs>
parents: 7116
diff changeset
7
5051
12ae08b2fe3f tests: avoid executing tests in base classes
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 4187
diff changeset
8 from kallithea.tests.vcs.base import _BackendTestMixin
7116
191d377abad0 tests: cleanup vcs aconfig setup - move setup to setup_package
Branko Majic <branko@majic.rs>
parents: 7112
diff changeset
9 from kallithea.tests.vcs import TEST_USER_CONFIG_FILE
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11
5051
12ae08b2fe3f tests: avoid executing tests in base classes
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 4187
diff changeset
12 class RepositoryBaseTest(_BackendTestMixin):
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 recreate_repo_per_test = False
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 @classmethod
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 def _get_commits(cls):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 return super(RepositoryBaseTest, cls)._get_commits()[:1]
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19 def test_get_config_value(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
20 assert self.repo.get_config_value('universal', 'foo', TEST_USER_CONFIG_FILE) == 'bar'
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 def test_get_config_value_defaults_to_None(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
23 assert self.repo.get_config_value('universal', 'nonexist', TEST_USER_CONFIG_FILE) == None
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 def test_get_user_name(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
26 assert self.repo.get_user_name(TEST_USER_CONFIG_FILE) == 'Foo Bar'
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 def test_get_user_email(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
29 assert self.repo.get_user_email(TEST_USER_CONFIG_FILE) == 'foo.bar@example.com'
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30
3692
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
31 def test_repo_equality(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
32 assert self.repo == self.repo
3692
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
33
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
34 def test_repo_equality_broken_object(self):
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
35 import copy
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
36 _repo = copy.copy(self.repo)
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
37 delattr(_repo, 'path')
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
38 assert self.repo != _repo
3692
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
39
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
40 def test_repo_equality_other_object(self):
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
41 class dummy(object):
5f9f4ece4b52 added __eq__ operation on vcs Repository objects
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
42 path = self.repo.path
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
43 assert self.repo != dummy()
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
44
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
45
7209
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
46 class TestGitRepositoryBase(RepositoryBaseTest):
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
47 backend_alias = 'git'
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
48
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
49
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
50 class TestHgRepositoryBase(RepositoryBaseTest):
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
51 backend_alias = 'hg'
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
52
45a281a0f36f tests: Remove metaprogramming constructs for vcs test classes (issue #309):
Branko Majic <branko@majic.rs>
parents: 7168
diff changeset
53
5051
12ae08b2fe3f tests: avoid executing tests in base classes
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 4187
diff changeset
54 class RepositoryGetDiffTest(_BackendTestMixin):
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
55
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
56 @classmethod
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
57 def _get_commits(cls):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
58 commits = [
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
59 {
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
60 'message': 'Initial commit',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
61 'author': 'Joe Doe <joe.doe@example.com>',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
62 'date': datetime.datetime(2010, 1, 1, 20),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
63 'added': [
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
64 FileNode('foobar', content='foobar'),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
65 FileNode('foobar2', content='foobar2'),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
66 ],
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
67 },
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
68 {
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
69 'message': 'Changed foobar, added foobar3',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
70 'author': 'Jane Doe <jane.doe@example.com>',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
71 'date': datetime.datetime(2010, 1, 1, 21),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
72 'added': [
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
73 FileNode('foobar3', content='foobar3'),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
74 ],
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
75 'changed': [
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
76 FileNode('foobar', 'FOOBAR'),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
77 ],
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
78 },
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
79 {
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
80 'message': 'Removed foobar, changed foobar3',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
81 'author': 'Jane Doe <jane.doe@example.com>',
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
82 'date': datetime.datetime(2010, 1, 1, 22),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
83 'changed': [
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
84 FileNode('foobar3', content='FOOBAR\nFOOBAR\nFOOBAR\n'),
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
85 ],
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
86 'removed': [FileNode('foobar')],
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
87 },
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
88 {
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
89 'message': u'Commit that contains glob pattern in filename',
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
90 'author': 'Jane Doe <jane.doe@example.com>',
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
91 'date': datetime.datetime(2010, 1, 1, 22),
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
92 'added': [
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
93 FileNode('README{', content='Strangely-named README file'),
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
94 ],
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
95 },
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
96 ]
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
97 return commits
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
98
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
99 def test_raise_for_wrong(self):
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
100 with pytest.raises(ChangesetDoesNotExistError):
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
101 self.repo.get_diff('a' * 40, 'b' * 40)
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
102
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
103 def test_glob_patterns_in_filename_do_not_raise_exception(self):
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
104 revs = self.repo.revisions
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
105
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
106 diff = self.repo.get_diff(revs[2], revs[3], path='README{') # should not raise
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
107
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
108
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
109 class TestGitRepositoryGetDiff(RepositoryGetDiffTest):
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
110 backend_alias = 'git'
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
111
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
112 def test_initial_commit_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
113 initial_rev = self.repo.revisions[0]
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
114 assert self.repo.get_diff(self.repo.EMPTY_CHANGESET, initial_rev) == '''diff --git a/foobar b/foobar
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
115 new file mode 100644
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
116 index 0000000000000000000000000000000000000000..f6ea0495187600e7b2288c8ac19c5886383a4632
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
117 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
118 +++ b/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
119 @@ -0,0 +1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
120 +foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
121 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
122 diff --git a/foobar2 b/foobar2
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
123 new file mode 100644
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
124 index 0000000000000000000000000000000000000000..e8c9d6b98e3dce993a464935e1a53f50b56a3783
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
125 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
126 +++ b/foobar2
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
127 @@ -0,0 +1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
128 +foobar2
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
129 \ No newline at end of file
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
130 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
131
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
132 def test_second_changeset_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
133 revs = self.repo.revisions
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
134 assert self.repo.get_diff(revs[0], revs[1]) == '''diff --git a/foobar b/foobar
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
135 index f6ea0495187600e7b2288c8ac19c5886383a4632..389865bb681b358c9b102d79abd8d5f941e96551 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
136 --- a/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
137 +++ b/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
138 @@ -1 +1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
139 -foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
140 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
141 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
142 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
143 diff --git a/foobar3 b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
144 new file mode 100644
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
145 index 0000000000000000000000000000000000000000..c11c37d41d33fb47741cff93fa5f9d798c1535b0
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
146 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
147 +++ b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
148 @@ -0,0 +1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
149 +foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
150 \ No newline at end of file
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
151 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
152
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
153 def test_third_changeset_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
154 revs = self.repo.revisions
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
155 assert self.repo.get_diff(revs[1], revs[2]) == '''diff --git a/foobar b/foobar
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
156 deleted file mode 100644
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
157 index 389865bb681b358c9b102d79abd8d5f941e96551..0000000000000000000000000000000000000000
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
158 --- a/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
159 +++ /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
160 @@ -1 +0,0 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
161 -FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
162 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
163 diff --git a/foobar3 b/foobar3
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2451
diff changeset
164 index c11c37d41d33fb47741cff93fa5f9d798c1535b0..f9324477362684ff692aaf5b9a81e01b9e9a671c 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
165 --- a/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
166 +++ b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
167 @@ -1 +1,3 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
168 -foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
169 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
170 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
171 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
172 +FOOBAR
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
173 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
174
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
175 def test_fourth_changeset_diff(self):
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
176 revs = self.repo.revisions
7168
8f3469917832 Merge stable
Mads Kiilerich <mads@kiilerich.com>
parents: 7120 7167
diff changeset
177 assert self.repo.get_diff(revs[2], revs[3]) == '''diff --git a/README{ b/README{
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
178 new file mode 100644
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
179 index 0000000000000000000000000000000000000000..cdc0c1b5d234feedb37bbac19cd1b6442061102d
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
180 --- /dev/null
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
181 +++ b/README{
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
182 @@ -0,0 +1 @@
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
183 +Strangely-named README file
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
184 \ No newline at end of file
7168
8f3469917832 Merge stable
Mads Kiilerich <mads@kiilerich.com>
parents: 7120 7167
diff changeset
185 '''
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
186
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
187
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
188 class TestHgRepositoryGetDiff(RepositoryGetDiffTest):
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
189 backend_alias = 'hg'
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
190
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
191 def test_initial_commit_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
192 initial_rev = self.repo.revisions[0]
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
193 assert self.repo.get_diff(self.repo.EMPTY_CHANGESET, initial_rev) == '''diff --git a/foobar b/foobar
3838
dbe9a08b2bcf fixed VCS tests after executable big issue was fixed
Marcin Kuzminski <marcin@python-works.com>
parents: 3797
diff changeset
194 new file mode 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
195 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
196 +++ b/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
197 @@ -0,0 +1,1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
198 +foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
199 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
200 diff --git a/foobar2 b/foobar2
3838
dbe9a08b2bcf fixed VCS tests after executable big issue was fixed
Marcin Kuzminski <marcin@python-works.com>
parents: 3797
diff changeset
201 new file mode 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
202 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
203 +++ b/foobar2
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
204 @@ -0,0 +1,1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
205 +foobar2
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
206 \ No newline at end of file
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
207 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
208
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
209 def test_second_changeset_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
210 revs = self.repo.revisions
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
211 assert self.repo.get_diff(revs[0], revs[1]) == '''diff --git a/foobar b/foobar
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
212 --- a/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
213 +++ b/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
214 @@ -1,1 +1,1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
215 -foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
216 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
217 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
218 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
219 diff --git a/foobar3 b/foobar3
3838
dbe9a08b2bcf fixed VCS tests after executable big issue was fixed
Marcin Kuzminski <marcin@python-works.com>
parents: 3797
diff changeset
220 new file mode 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
221 --- /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
222 +++ b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
223 @@ -0,0 +1,1 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
224 +foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
225 \ No newline at end of file
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
226 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
227
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
228 def test_third_changeset_diff(self):
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
229 revs = self.repo.revisions
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
230 assert self.repo.get_diff(revs[1], revs[2]) == '''diff --git a/foobar b/foobar
3838
dbe9a08b2bcf fixed VCS tests after executable big issue was fixed
Marcin Kuzminski <marcin@python-works.com>
parents: 3797
diff changeset
231 deleted file mode 100644
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
232 --- a/foobar
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
233 +++ /dev/null
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
234 @@ -1,1 +0,0 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
235 -FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
236 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
237 diff --git a/foobar3 b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
238 --- a/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
239 +++ b/foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
240 @@ -1,1 +1,3 @@
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
241 -foobar3
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
242 \ No newline at end of file
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
243 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
244 +FOOBAR
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
245 +FOOBAR
7120
8f30206a15b5 tests: convert remaining vcs tests to py.test
Branko Majic <branko@majic.rs>
parents: 7117
diff changeset
246 '''
2451
402a96fcfa22 Added vcs testsuite for better integration tests + added fetching
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
247
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
248 def test_fourth_changeset_diff(self):
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
249 revs = self.repo.revisions
7168
8f3469917832 Merge stable
Mads Kiilerich <mads@kiilerich.com>
parents: 7120 7167
diff changeset
250 assert self.repo.get_diff(revs[2], revs[3]) == '''diff --git a/README{ b/README{
7167
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
251 new file mode 100644
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
252 --- /dev/null
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
253 +++ b/README{
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
254 @@ -0,0 +1,1 @@
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
255 +Strangely-named README file
b4a5632733d9 vcs: Fix internal server error when trying to get diff from Mercurial for paths that include globbing patterns (Issue #308):
Branko Majic <branko@majic.rs>
parents: 5474
diff changeset
256 \ No newline at end of file
7168
8f3469917832 Merge stable
Mads Kiilerich <mads@kiilerich.com>
parents: 7120 7167
diff changeset
257 '''