Mercurial > hgsubversion
diff tests/test_externals.py @ 776:f025d00bfc4a
svnexternals: add 'ignore' mode to avoid converting externals
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 12 Dec 2010 15:32:25 +0100 |
parents | bc5c176b63eb |
children | f214fb3f92cd |
line wrap: on
line diff
--- a/tests/test_externals.py +++ b/tests/test_externals.py @@ -214,6 +214,15 @@ 2 deps/project2 def test_hgsub_stupid(self): self.test_hgsub(True) + def test_ignore(self): + repo = self._load_fixture_and_fetch('externals.svndump', + externals='ignore') + for rev in repo: + ctx = repo[rev] + self.assertTrue('.hgsvnexternals' not in ctx) + self.assertTrue('.hgsub' not in ctx) + self.assertTrue('.hgsubstate' not in ctx) + def test_updatehgsub(self): def checkdeps(ui, repo, rev, deps, nodeps): commands.update(ui, repo, node=str(rev))