diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-06 01:16:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-06 01:16:15 +0200 |
commit | c60068bd0035e829a1e11a55d9bd6fe2cde65a32 (patch) | |
tree | 197ebc4a3ba60419aa52c770a6793ed2734e5925 /tests/test_head_tracking.py | |
parent | 00998e68def7710ae12f926c0a1aaa0df861f13d (diff) | |
download | bzr-fastimport-c60068bd0035e829a1e11a55d9bd6fe2cde65a32.tar.gz |
Split out reftracker.
Diffstat (limited to 'tests/test_head_tracking.py')
-rw-r--r-- | tests/test_head_tracking.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_head_tracking.py b/tests/test_head_tracking.py index 77bb422..3c44d50 100644 --- a/tests/test_head_tracking.py +++ b/tests/test_head_tracking.py @@ -222,13 +222,13 @@ class TestHeadTracking(tests.TestCase): cm = CacheManager() for cmd in p.iter_commands(): if isinstance(cmd, commands.CommitCommand): - cm.track_heads(cmd) + cm.reftracker.track_heads(cmd) # eat the file commands list(cmd.file_iter()) elif isinstance(cmd, commands.ResetCommand): if cmd.from_ is not None: - cm.track_heads_for_ref(cmd.ref, cmd.from_) - self.assertEqual(cm.heads, expected) + cm.reftracker.track_heads_for_ref(cmd.ref, cmd.from_) + self.assertEqual(cm.reftracker.heads, expected) def test_mainline(self): self.assertHeads(_SAMPLE_MAINLINE, { |