Mercurial > hgsubversion
comparison tests/test_fetch_command.py @ 25:99f8e4b535e9
svn 1.4 and 1.5 have different ideas of diff output for prop changes.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 09 Oct 2008 23:37:22 -0500 |
parents | 95d0109e495e |
children | 9952f03ddfbe |
comparison
equal
deleted
inserted
replaced
24:5954a514ae26 | 25:99f8e4b535e9 |
---|---|
19 self.wc_path = '%s/testrepo_wc' % self.tmpdir | 19 self.wc_path = '%s/testrepo_wc' % self.tmpdir |
20 | 20 |
21 def tearDown(self): | 21 def tearDown(self): |
22 shutil.rmtree(self.tmpdir) | 22 shutil.rmtree(self.tmpdir) |
23 os.chdir(self.oldwd) | 23 os.chdir(self.oldwd) |
24 | 24 |
25 def _load_fixture_and_fetch(self, fixture_name): | 25 def _load_fixture_and_fetch(self, fixture_name): |
26 return test_util.load_fixture_and_fetch(fixture_name, self.repo_path, | 26 return test_util.load_fixture_and_fetch(fixture_name, self.repo_path, |
27 self.wc_path) | 27 self.wc_path) |
28 | 28 |
29 def test_fresh_fetch_single_rev(self): | 29 def test_fresh_fetch_single_rev(self): |
30 repo = self._load_fixture_and_fetch('single_rev.svndump') | 30 repo = self._load_fixture_and_fetch('single_rev.svndump') |
31 self.assertEqual(node.hex(repo['tip'].node()), | 31 self.assertEqual(node.hex(repo['tip'].node()), |