Mercurial > hgsubversion
comparison tests/test_fetch_command.py @ 215:b5ef9a404f5d
Stopped idiotic filtering of revisions that did not edit something branches/tags/trunk.
Fixed a bunch of tests as a result. This likely will make new conversions of some repos have new revisions in them.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Fri, 27 Mar 2009 16:56:07 -0500 |
parents | b20a6c149021 |
children | a360ddc97719 |
comparison
equal
deleted
inserted
replaced
214:1416429584b2 | 215:b5ef9a404f5d |
---|---|
92 def test_files_copied_from_outside_btt(self): | 92 def test_files_copied_from_outside_btt(self): |
93 repo = self._load_fixture_and_fetch( | 93 repo = self._load_fixture_and_fetch( |
94 'test_files_copied_from_outside_btt.svndump') | 94 'test_files_copied_from_outside_btt.svndump') |
95 self.assertEqual(node.hex(repo['tip'].node()), | 95 self.assertEqual(node.hex(repo['tip'].node()), |
96 '3c78170e30ddd35f2c32faa0d8646ab75bba4f73') | 96 '3c78170e30ddd35f2c32faa0d8646ab75bba4f73') |
97 self.assertEqual(len(repo.changelog), 2) | 97 self.assertEqual(len(repo.changelog), 3) |
98 | 98 |
99 def test_file_renamed_in_from_outside_btt(self): | 99 def test_file_renamed_in_from_outside_btt(self): |
100 repo = self._load_fixture_and_fetch( | 100 repo = self._load_fixture_and_fetch( |
101 'file_renamed_in_from_outside_btt.svndump') | 101 'file_renamed_in_from_outside_btt.svndump') |
102 self.assert_('LICENSE.file' in repo['tip']) | 102 self.assert_('LICENSE.file' in repo['default']) |
103 | 103 |
104 def test_renamed_dir_in_from_outside_btt_not_repo_root(self): | 104 def test_renamed_dir_in_from_outside_btt_not_repo_root(self): |
105 repo = self._load_fixture_and_fetch( | 105 repo = self._load_fixture_and_fetch( |
106 'fetch_missing_files_subdir.svndump', subdir='foo') | 106 'fetch_missing_files_subdir.svndump', subdir='foo') |
107 self.assertEqual(node.hex(repo['tip'].node()), | 107 self.assertEqual(node.hex(repo['tip'].node()), |