Mercurial > hgsubversion
diff tests/test_pull_fallback.py @ 1418:c161586a6b77
Merge with stable.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 23 May 2016 17:45:19 -0400 |
parents | 4f1461428334 |
children |
line wrap: on
line diff
--- a/tests/test_pull_fallback.py +++ b/tests/test_pull_fallback.py @@ -37,14 +37,14 @@ class TestPullFallback(test_util.TestBas # Passing stupid=True doesn't seem to be working - force it repo.ui.setconfig('hgsubversion', 'stupid', "true") - state = repo.parents() + state = repo[None].parents() calls, replaced = _monkey_patch(to_patch) try: self.add_svn_rev(repo_path, {'trunk/alpha': 'Changed'}) commands.pull(self.repo.ui, repo, update=True) - self.failIfEqual(state, repo.parents()) + self.failIfEqual(state, repo[None].parents()) self.assertTrue('tip' in repo[None].tags()) self.assertEqual(expected_calls, calls)