comparison tests/test_externals.py @ 784:f214fb3f92cd

svnexternals: handle new overwrite argument of subrepo.get() The argument was introduced in hg-1.7.4-c19b9282d3a7.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 02 Feb 2011 14:25:58 +0100
parents f025d00bfc4a
children 40ddf8213fa2
comparison
equal deleted inserted replaced
783:7913a82a8cdd 784:f214fb3f92cd
248 ['deps/project1']) 248 ['deps/project1'])
249 checkdeps(ui, repo, 3, ['subdir/deps/project1', 'deps/project2'], 249 checkdeps(ui, repo, 3, ['subdir/deps/project1', 'deps/project2'],
250 ['subdir2/deps/project1']) 250 ['subdir2/deps/project1'])
251 checkdeps(ui, repo, 4, ['subdir/deps/project1'], ['deps/project2']) 251 checkdeps(ui, repo, 4, ['subdir/deps/project1'], ['deps/project2'])
252 252
253 # Test update --clean, used to crash
254 repo.wwrite('subdir/deps/project1/a', 'foobar', '')
255 commands.update(ui, repo, node='4', clean=True)
256
253 class TestPushExternals(test_util.TestBase): 257 class TestPushExternals(test_util.TestBase):
254 def test_push_externals(self, stupid=False): 258 def test_push_externals(self, stupid=False):
255 test_util.load_fixture_and_fetch('pushexternals.svndump', 259 test_util.load_fixture_and_fetch('pushexternals.svndump',
256 self.repo_path, 260 self.repo_path,
257 self.wc_path) 261 self.wc_path)