Skip to content
Snippets Groups Projects
Commit 70a00a8c authored by Matt Harbison's avatar Matt Harbison
Browse files

py3: byteify tests/pullext.py

# skip-blame for b'' prepending
parent c296b8fa
No related branches found
No related tags found
No related merge requests found
......@@ -32,5 +32,5 @@
features.add(repository.NARROW_REQUIREMENT)
def extsetup(ui):
entry = extensions.wrapcommand(commands.table, 'clone', clonecommand)
entry = extensions.wrapcommand(commands.table, b'clone', clonecommand)
......@@ -36,5 +36,5 @@
hasinclude = any(x[1] == 'include' for x in entry[1])
hasdepth = any(x[1] == 'depth' for x in entry[1])
hasinclude = any(x[1] == b'include' for x in entry[1])
hasdepth = any(x[1] == b'depth' for x in entry[1])
if not hasinclude:
......@@ -39,8 +39,8 @@
if not hasinclude:
entry[1].append(('', 'include', [],
_('pattern of file/directory to clone')))
entry[1].append(('', 'exclude', [],
_('pattern of file/directory to not clone')))
entry[1].append((b'', b'include', [],
_(b'pattern of file/directory to clone')))
entry[1].append((b'', b'exclude', [],
_(b'pattern of file/directory to not clone')))
if not hasdepth:
......@@ -45,6 +45,6 @@
if not hasdepth:
entry[1].append(('', 'depth', '',
_('ancestry depth of changesets to fetch')))
entry[1].append((b'', b'depth', b'',
_(b'ancestry depth of changesets to fetch')))
localrepo.featuresetupfuncs.add(featuresetup)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment