Skip to content
Snippets Groups Projects
Commit 29996f6c authored by Augie Fackler's avatar Augie Fackler
Browse files

tests: add missing b prefixes in remotefilelog-getflogheads.py

# skip-blame just b prefixes

Differential Revision: https://phab.mercurial-scm.org/D5603
parent a495435d
Branches
Tags
No related merge requests found
......@@ -9,5 +9,5 @@
cmdtable = {}
command = registrar.command(cmdtable)
@command('getflogheads',
@command(b'getflogheads',
[],
......@@ -13,5 +13,5 @@
[],
'path')
b'path')
def getflogheads(ui, repo, path):
"""
Extension printing a remotefilelog's heads
......@@ -19,10 +19,10 @@
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:
......@@ -23,8 +23,8 @@
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:
......@@ -30,2 +30,2 @@
else:
ui.write(_('EMPTY\n'))
ui.write(_(b'EMPTY\n'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment