Show More
@@ -10,7 +10,7 b' from mercurial import (' | |||
|
10 | 10 | u = uimod.ui.load() |
|
11 | 11 | |
|
12 | 12 | print('% creating repo') |
|
13 | repo = localrepo.localrepository(u, '.', create=True) | |
|
13 | repo = localrepo.localrepository(u, b'.', create=True) | |
|
14 | 14 | |
|
15 | 15 | f = open('test.py', 'w') |
|
16 | 16 | try: |
@@ -19,8 +19,8 b' finally:' | |||
|
19 | 19 | f.close |
|
20 | 20 | |
|
21 | 21 | print('% add and commit') |
|
22 | commands.add(u, repo, 'test.py') | |
|
23 | commands.commit(u, repo, message='*') | |
|
22 | commands.add(u, repo, b'test.py') | |
|
23 | commands.commit(u, repo, message=b'*') | |
|
24 | 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