Mercurial > hgsubversion
diff tests/test_hooks.py @ 1417:4f1461428334 stable
test_hooks: cope with localrepo.parents() going away
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 23 May 2016 17:15:58 -0400 |
parents | 20850abfb91a |
children |
line wrap: on
line diff
--- a/tests/test_hooks.py +++ b/tests/test_hooks.py @@ -17,7 +17,7 @@ class TestHooks(test_util.TestBase): def test_updatemetahook(self): repo, repo_path = self._loadupdate('single_rev.svndump') - state = repo.parents() + state = repo[None].parents() self.add_svn_rev(repo_path, {'trunk/alpha': 'Changed'}) commands.pull(self.repo.ui, self.repo)