Mercurial > hgsubversion
diff tests/test_rebuildmeta.py @ 416:cd6317fe70be
invert the svnmeta/editor relationship
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 11 Jun 2009 18:49:52 +0200 |
parents | 343da842dbe6 |
children | 0d3b5acb1d51 |
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py +++ b/tests/test_rebuildmeta.py @@ -8,7 +8,7 @@ from mercurial import hg from mercurial import ui from hgsubversion import svncommands -from hgsubversion import hg_delta_editor +from hgsubversion import svnmeta def _do_case(self, name, stupid): subdir = test_util.subdir.get(name, '') @@ -38,7 +38,7 @@ def _do_case(self, name, stupid): srcbi = pickle.load(open(os.path.join(src.path, 'svn', 'branch_info'))) destbi = pickle.load(open(os.path.join(dest.path, 'svn', 'branch_info'))) self.assertEqual(sorted(srcbi.keys()), sorted(destbi.keys())) - revkeys = hg_delta_editor.HgChangeReceiver(dest).meta.revmap.keys() + revkeys = svnmeta.SVNMeta(dest).revmap.keys() for branch in destbi: srcinfo = srcbi[branch] destinfo = destbi[branch]