diff tests/test_externals.py @ 184:d3ea6c98a086

Do not recurse for externals on copied directory in stupid mode We inherit the source externals, changes to children will appear in the changelog.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 14 Jan 2009 23:17:13 -0600
parents 1c46ad3f56aa
children 906d3f302b45
line wrap: on
line diff
--- a/tests/test_externals.py
+++ b/tests/test_externals.py
@@ -73,9 +73,7 @@ class TestFetchExternals(test_util.TestB
         self.assertEqual(ref3, repo[3]['.hgsvnexternals'].data())
 
         ref4 = """\
-[.]
- ^/externals/project2 deps/project2
-[subdir2]
+[subdir]
  ^/externals/project1 deps/project1
 """
         self.assertEqual(ref4, repo[4]['.hgsvnexternals'].data())
@@ -83,9 +81,17 @@ class TestFetchExternals(test_util.TestB
         ref5 = """\
 [.]
  ^/externals/project2 deps/project2
+[subdir2]
+ ^/externals/project1 deps/project1
 """
         self.assertEqual(ref5, repo[5]['.hgsvnexternals'].data())
 
+        ref6 = """\
+[.]
+ ^/externals/project2 deps/project2
+"""
+        self.assertEqual(ref6, repo[6]['.hgsvnexternals'].data())
+
     def test_externals_stupid(self):
         self.test_externals(True)