comparison 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
comparison
equal deleted inserted replaced
183:1c46ad3f56aa 184:d3ea6c98a086
71 ^/externals/project1 deps/project1 71 ^/externals/project1 deps/project1
72 """ 72 """
73 self.assertEqual(ref3, repo[3]['.hgsvnexternals'].data()) 73 self.assertEqual(ref3, repo[3]['.hgsvnexternals'].data())
74 74
75 ref4 = """\ 75 ref4 = """\
76 [.] 76 [subdir]
77 ^/externals/project2 deps/project2
78 [subdir2]
79 ^/externals/project1 deps/project1 77 ^/externals/project1 deps/project1
80 """ 78 """
81 self.assertEqual(ref4, repo[4]['.hgsvnexternals'].data()) 79 self.assertEqual(ref4, repo[4]['.hgsvnexternals'].data())
82 80
83 ref5 = """\ 81 ref5 = """\
84 [.] 82 [.]
85 ^/externals/project2 deps/project2 83 ^/externals/project2 deps/project2
84 [subdir2]
85 ^/externals/project1 deps/project1
86 """ 86 """
87 self.assertEqual(ref5, repo[5]['.hgsvnexternals'].data()) 87 self.assertEqual(ref5, repo[5]['.hgsvnexternals'].data())
88
89 ref6 = """\
90 [.]
91 ^/externals/project2 deps/project2
92 """
93 self.assertEqual(ref6, repo[6]['.hgsvnexternals'].data())
88 94
89 def test_externals_stupid(self): 95 def test_externals_stupid(self):
90 self.test_externals(True) 96 self.test_externals(True)
91 97
92 98