comparison tests/test_rebuildmeta.py @ 953:3b43b1c45e2e

test_rebuildmeta: fix src/dest typo
author Patrick Mezard <patrick@mezard.eu>
date Sun, 07 Oct 2012 20:15:43 +0200
parents 5bacb9c63e3e
children
comparison
equal deleted inserted replaced
952:9c3b4f59e7e6 953:3b43b1c45e2e
92 92
93 def _run_assertions(self, name, stupid, single, src, dest, u): 93 def _run_assertions(self, name, stupid, single, src, dest, u):
94 94
95 self.assertTrue(os.path.isdir(os.path.join(src.path, 'svn')), 95 self.assertTrue(os.path.isdir(os.path.join(src.path, 'svn')),
96 'no .hg/svn directory in the source!') 96 'no .hg/svn directory in the source!')
97 self.assertTrue(os.path.isdir(os.path.join(src.path, 'svn')), 97 self.assertTrue(os.path.isdir(os.path.join(dest.path, 'svn')),
98 'no .hg/svn directory in the destination!') 98 'no .hg/svn directory in the destination!')
99 dest = hg.repository(u, os.path.dirname(dest.path)) 99 dest = hg.repository(u, os.path.dirname(dest.path))
100 for tf in ('lastpulled', 'rev_map', 'uuid', 'tagmap', 'layout', 'subdir',): 100 for tf in ('lastpulled', 'rev_map', 'uuid', 'tagmap', 'layout', 'subdir',):
101 101
102 stf = os.path.join(src.path, 'svn', tf) 102 stf = os.path.join(src.path, 'svn', tf)