Mercurial > hgsubversion
comparison tests/test_rebuildmeta.py @ 383:987bd7444f60
Remove vestigial references to the tags_info file we no longer need.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 30 May 2009 20:28:07 -0500 |
parents | 537de0300510 |
children | a98b8d424221 |
comparison
equal
deleted
inserted
replaced
382:b6047c200708 | 383:987bd7444f60 |
---|---|
32 self.assertTrue(os.path.isfile(stf), '%r is missing!' % stf) | 32 self.assertTrue(os.path.isfile(stf), '%r is missing!' % stf) |
33 dtf = os.path.join(dest.path, 'svn', tf) | 33 dtf = os.path.join(dest.path, 'svn', tf) |
34 self.assertTrue(os.path.isfile(dtf), '%r is missing!' % tf) | 34 self.assertTrue(os.path.isfile(dtf), '%r is missing!' % tf) |
35 self.assertEqual(open(stf).read(), | 35 self.assertEqual(open(stf).read(), |
36 open(dtf).read()) | 36 open(dtf).read()) |
37 self.assertEqual(pickle.load(open(os.path.join(src.path, 'svn', | |
38 'tag_info'))), | |
39 pickle.load(open(os.path.join(dest.path, 'svn', | |
40 'tag_info')))) | |
41 self.assertEqual(src.branchtags(), dest.branchtags()) | 37 self.assertEqual(src.branchtags(), dest.branchtags()) |
42 srcbi = pickle.load(open(os.path.join(src.path, 'svn', 'branch_info'))) | 38 srcbi = pickle.load(open(os.path.join(src.path, 'svn', 'branch_info'))) |
43 destbi = pickle.load(open(os.path.join(dest.path, 'svn', 'branch_info'))) | 39 destbi = pickle.load(open(os.path.join(dest.path, 'svn', 'branch_info'))) |
44 self.assertEqual(sorted(srcbi.keys()), sorted(destbi.keys())) | 40 self.assertEqual(sorted(srcbi.keys()), sorted(destbi.keys())) |
45 for branch in destbi: | 41 for branch in destbi: |