comparison tests/test-context.py @ 5146:ce21f76751f4

test-context.py: Don't create second repo instance (fixed since 7b5723c95a82)
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 11 Aug 2007 13:17:24 +0200
parents 20af6a2f0b0e
children
comparison
equal deleted inserted replaced
5145:88803a69b24a 5146:ce21f76751f4
3 3
4 u = ui.ui() 4 u = ui.ui()
5 5
6 repo = hg.repository(u, 'test1', create=1) 6 repo = hg.repository(u, 'test1', create=1)
7 os.chdir('test1') 7 os.chdir('test1')
8 repo = hg.repository(u, '.') # FIXME: can't lock repo without doing this
9 8
10 # create 'foo' with fixed time stamp 9 # create 'foo' with fixed time stamp
11 f = file('foo', 'w') 10 f = file('foo', 'w')
12 f.write('foo\n') 11 f.write('foo\n')
13 f.close() 12 f.close()