comparison tests/test_rebuildmeta.py @ 228:f71af18c4379

Merge with crew.
author Augie Fackler <durin42@gmail.com>
date Tue, 07 Apr 2009 13:48:58 -0500
parents 2117cb0118fe
children 074f27c68818
comparison
equal deleted inserted replaced
223:330f0b15d417 228:f71af18c4379
20 dest, 20 dest,
21 os.path.dirname(dest.path), 21 os.path.dirname(dest.path),
22 args=[test_util.fileurl(self.repo_path + 22 args=[test_util.fileurl(self.repo_path +
23 subdir), ]) 23 subdir), ])
24 dest = hg.repository(u, os.path.dirname(dest.path)) 24 dest = hg.repository(u, os.path.dirname(dest.path))
25 self.assert_(open(os.path.join(src.path, 'svn', 'last_rev')).read() >=
26 open(os.path.join(dest.path, 'svn', 'last_rev')).read())
27 for tf in ('rev_map', 'uuid', 'url'): 25 for tf in ('rev_map', 'uuid', 'url'):
28 self.assertEqual(open(os.path.join(src.path, 'svn', tf)).read(), 26 self.assertEqual(open(os.path.join(src.path, 'svn', tf)).read(),
29 open(os.path.join(dest.path, 'svn', tf)).read()) 27 open(os.path.join(dest.path, 'svn', tf)).read())
30 self.assertEqual(pickle.load(open(os.path.join(src.path, 'svn', 28 self.assertEqual(pickle.load(open(os.path.join(src.path, 'svn',
31 'tag_info'))), 29 'tag_info'))),