diff 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
line wrap: on
line diff
--- a/tests/test_externals.py
+++ b/tests/test_externals.py
@@ -127,6 +127,14 @@ class TestPushExternals(test_util.TestBa
         self.assertTrue('subdir2/a' in self.repo['tip'])
         self.assertTrue('subdir1/a' not in self.repo['tip'])
 
+        # Test externals removal
+        changes = [
+            ('.hgsvnexternals', None, None),
+            ]
+        self.commitchanges(changes)
+        self.pushrevisions(stupid)
+        self.assertchanges(changes, self.repo['tip'])
+
     def test_push_externals_stupid(self):
         self.test_push_externals(True)