changeset 39548 | 7ce9dea3a14a |
parent 37901 | bbff7170f665 |
child 43076 | 2372284d9457 |
39546:41aa5dced975 | 39548:7ce9dea3a14a |
---|---|
20 sys.stdout.flush() |
20 sys.stdout.flush() |
21 |
21 |
22 u = uimod.ui.load() |
22 u = uimod.ui.load() |
23 |
23 |
24 print('% creating repo') |
24 print('% creating repo') |
25 repo = localrepo.localrepository(u, b'.', create=True) |
25 repo = localrepo.instance(u, b'.', create=True) |
26 |
26 |
27 f = open('test.py', 'w') |
27 f = open('test.py', 'w') |
28 try: |
28 try: |
29 f.write('foo\n') |
29 f.write('foo\n') |
30 finally: |
30 finally: |