D3321: py3: add b'' prefixes to tests/test-status-inprocess.py
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9dfa4e9ed45d: py3: add b prefixes to tests/test-status-inprocess.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3321?vs=8141=8195 REVISION DETAIL https://phab.mercurial-scm.org/D3321 AFFECTED FILES tests/test-status-inprocess.py CHANGE DETAILS diff --git a/tests/test-status-inprocess.py b/tests/test-status-inprocess.py --- a/tests/test-status-inprocess.py +++ b/tests/test-status-inprocess.py @@ -10,17 +10,17 @@ u = uimod.ui.load() print('% creating repo') -repo = localrepo.localrepository(u, '.', create=True) +repo = localrepo.localrepository(u, b'.', create=True) f = open('test.py', 'w') try: f.write('foo\n') finally: f.close print('% add and commit') -commands.add(u, repo, 'test.py') -commands.commit(u, repo, message='*') +commands.add(u, repo, b'test.py') +commands.commit(u, repo, message=b'*') commands.status(u, repo, clean=True) To: pulkit, #hg-reviewers, durin42 Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D3321: py3: add b'' prefixes to tests/test-status-inprocess.py
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3321 AFFECTED FILES tests/test-status-inprocess.py CHANGE DETAILS diff --git a/tests/test-status-inprocess.py b/tests/test-status-inprocess.py --- a/tests/test-status-inprocess.py +++ b/tests/test-status-inprocess.py @@ -10,17 +10,17 @@ u = uimod.ui.load() print('% creating repo') -repo = localrepo.localrepository(u, '.', create=True) +repo = localrepo.localrepository(u, b'.', create=True) f = open('test.py', 'w') try: f.write('foo\n') finally: f.close print('% add and commit') -commands.add(u, repo, 'test.py') -commands.commit(u, repo, message='*') +commands.add(u, repo, b'test.py') +commands.commit(u, repo, message=b'*') commands.status(u, repo, clean=True) To: pulkit, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel