py3: add b'' prefixes in tests/test-rebuildstate.t
authorPulkit Goyal <7895pulkit@gmail.com>
Sat, 19 May 2018 18:33:36 +0530
changeset 38077 74c5ddd97008
parent 38076 34592dd3bfa2
child 38078 549e970397b2
py3: add b'' prefixes in tests/test-rebuildstate.t # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3601
tests/test-rebuildstate.t
--- a/tests/test-rebuildstate.t	Sat May 19 18:32:57 2018 +0530
+++ b/tests/test-rebuildstate.t	Sat May 19 18:33:36 2018 +0530
@@ -4,9 +4,9 @@
   > cmdtable = {}
   > command = registrar.command(cmdtable)
   > @command(b'debugadddrop',
-  >   [('', 'drop', False, 'drop file from dirstate', 'FILE'),
-  >    ('', 'normal-lookup', False, 'add file to dirstate', 'FILE')],
-  >     'hg debugadddrop')
+  >   [(b'', b'drop', False, b'drop file from dirstate', b'FILE'),
+  >    (b'', b'normal-lookup', False, b'add file to dirstate', b'FILE')],
+  >     b'hg debugadddrop')
   > def debugadddrop(ui, repo, *pats, **opts):
   >   '''Add or drop unnamed arguments to or from the dirstate'''
   >   drop = opts.get('drop')