Show More
@@ -10,7 +10,7 b' from mercurial import (' | |||||
10 | u = uimod.ui.load() |
|
10 | u = uimod.ui.load() | |
11 |
|
11 | |||
12 | print('% creating repo') |
|
12 | print('% creating repo') | |
13 | repo = localrepo.localrepository(u, '.', create=True) |
|
13 | repo = localrepo.localrepository(u, b'.', create=True) | |
14 |
|
14 | |||
15 | f = open('test.py', 'w') |
|
15 | f = open('test.py', 'w') | |
16 | try: |
|
16 | try: | |
@@ -19,8 +19,8 b' finally:' | |||||
19 | f.close |
|
19 | f.close | |
20 |
|
20 | |||
21 | print('% add and commit') |
|
21 | print('% add and commit') | |
22 | commands.add(u, repo, 'test.py') |
|
22 | commands.add(u, repo, b'test.py') | |
23 | commands.commit(u, repo, message='*') |
|
23 | commands.commit(u, repo, message=b'*') | |
24 | commands.status(u, repo, clean=True) |
|
24 | commands.status(u, repo, clean=True) | |
25 |
|
25 | |||
26 |
|
26 |
General Comments 0
You need to be logged in to leave comments.
Login now