Mercurial > hg
changeset 41253:29996f6c2687
tests: add missing b prefixes in remotefilelog-getflogheads.py
# skip-blame just b prefixes
Differential Revision: https://phab.mercurial-scm.org/D5603
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 16 Jan 2019 10:59:09 -0500 |
parents | a495435d980e |
children | 2888d12b80a6 |
files | tests/remotefilelog-getflogheads.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/remotefilelog-getflogheads.py Wed Jan 16 10:58:31 2019 -0500 +++ b/tests/remotefilelog-getflogheads.py Wed Jan 16 10:59:09 2019 -0500 @@ -9,9 +9,9 @@ cmdtable = {} command = registrar.command(cmdtable) -@command('getflogheads', +@command(b'getflogheads', [], - 'path') + b'path') def getflogheads(ui, repo, path): """ Extension printing a remotefilelog's heads @@ -19,13 +19,13 @@ Used for testing purpose """ - dest = repo.ui.expandpath('default') + dest = repo.ui.expandpath(b'default') peer = hg.peer(repo, {}, dest) flogheads = peer.x_rfl_getflogheads(path) if flogheads: for head in flogheads: - ui.write(head + '\n') + ui.write(head + b'\n') else: - ui.write(_('EMPTY\n')) + ui.write(_(b'EMPTY\n'))