1798
1798
for link, target in (('e', e_target), ('f', f_target),
1799
1799
('g', g_target), ('h', h_target)):
1800
1800
if target is not None:
1801
tg.tt.new_symlink(link, tg.root, target, link)
1801
tg.tt.new_symlink(link, tg.root, target, link.encode('ascii'))
1803
1803
for tg in this, base, other:
1827
1827
base = TransformGroup("BASE", root_id)
1828
1828
this = TransformGroup("THIS", root_id)
1829
1829
other = TransformGroup("OTHER", root_id)
1830
base_a, this_a, other_a = [t.tt.new_directory('a', t.root, 'a')
1831
for t in [base, this, other]]
1832
base_b, this_b, other_b = [t.tt.new_directory('b', t.root, 'b')
1833
for t in [base, this, other]]
1834
base.tt.new_directory('c', base_a, 'c')
1835
this.tt.new_directory('c1', this_a, 'c')
1836
other.tt.new_directory('c', other_b, 'c')
1838
base.tt.new_directory('d', base_a, 'd')
1839
this.tt.new_directory('d1', this_b, 'd')
1840
other.tt.new_directory('d', other_a, 'd')
1842
base.tt.new_directory('e', base_a, 'e')
1843
this.tt.new_directory('e', this_a, 'e')
1844
other.tt.new_directory('e1', other_b, 'e')
1846
base.tt.new_directory('f', base_a, 'f')
1847
this.tt.new_directory('f1', this_b, 'f')
1848
other.tt.new_directory('f1', other_b, 'f')
1830
base_a, this_a, other_a = [t.tt.new_directory('a', t.root, b'a')
1831
for t in [base, this, other]]
1832
base_b, this_b, other_b = [t.tt.new_directory('b', t.root, b'b')
1833
for t in [base, this, other]]
1834
base.tt.new_directory('c', base_a, b'c')
1835
this.tt.new_directory('c1', this_a, b'c')
1836
other.tt.new_directory('c', other_b, b'c')
1838
base.tt.new_directory('d', base_a, b'd')
1839
this.tt.new_directory('d1', this_b, b'd')
1840
other.tt.new_directory('d', other_a, b'd')
1842
base.tt.new_directory('e', base_a, b'e')
1843
this.tt.new_directory('e', this_a, b'e')
1844
other.tt.new_directory('e1', other_b, b'e')
1846
base.tt.new_directory('f', base_a, b'f')
1847
this.tt.new_directory('f1', this_b, b'f')
1848
other.tt.new_directory('f1', other_b, b'f')
1850
1850
for tg in [this, base, other]:
1860
1860
base = TransformGroup("BASE", root_id)
1861
1861
this = TransformGroup("THIS", root_id)
1862
1862
other = TransformGroup("OTHER", root_id)
1863
base_a, this_a, other_a = [t.tt.new_directory('a', t.root, 'a')
1863
base_a, this_a, other_a = [t.tt.new_directory('a', t.root, b'a')
1864
1864
for t in [base, this, other]]
1865
base_b, this_b, other_b = [t.tt.new_directory('b', t.root, 'b')
1865
base_b, this_b, other_b = [t.tt.new_directory('b', t.root, b'b')
1866
1866
for t in [base, this, other]]
1868
1868
base.tt.new_file('g', base_a, [b'g'], b'g')