Mercurial > hgsubversion
diff tests/test_rebuildmeta.py @ 414:343da842dbe6
split parts of HgChangeReceiver out into an SVNMeta class
Less obvious things:
- my reordering in the previous was incomplete
- _branch_for_path() was unused, so I removed it
- _svnpath() was removed in favor of identical _remotename()
- I've checked "no cover" bits manually
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 11 Jun 2009 18:56:35 +0200 |
parents | a98b8d424221 |
children | cd6317fe70be |
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py +++ b/tests/test_rebuildmeta.py @@ -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).revmap.keys() + revkeys = hg_delta_editor.HgChangeReceiver(dest).meta.revmap.keys() for branch in destbi: srcinfo = srcbi[branch] destinfo = destbi[branch]