comparison tests/test_externals.py @ 176:c4115b3918e9

Really delete the .hgsvnexternals file when explicitely removed
author Patrick Mezard <pmezard@gmail.com>
date Fri, 02 Jan 2009 15:54:06 -0600
parents 2412800b1258
children 1c46ad3f56aa
comparison
equal deleted inserted replaced
175:2412800b1258 176:c4115b3918e9
125 self.assertchanges(changes, self.repo['tip']) 125 self.assertchanges(changes, self.repo['tip'])
126 # Check subdir2/a is still there even if the externals were removed 126 # Check subdir2/a is still there even if the externals were removed
127 self.assertTrue('subdir2/a' in self.repo['tip']) 127 self.assertTrue('subdir2/a' in self.repo['tip'])
128 self.assertTrue('subdir1/a' not in self.repo['tip']) 128 self.assertTrue('subdir1/a' not in self.repo['tip'])
129 129
130 # Test externals removal
131 changes = [
132 ('.hgsvnexternals', None, None),
133 ]
134 self.commitchanges(changes)
135 self.pushrevisions(stupid)
136 self.assertchanges(changes, self.repo['tip'])
137
130 def test_push_externals_stupid(self): 138 def test_push_externals_stupid(self):
131 self.test_push_externals(True) 139 self.test_push_externals(True)
132 140
133 141
134 def suite(): 142 def suite():