mercurial/revsetlang.py
changeset 35862 4269971b0d26
parent 35597 ed0902e8053e
child 35922 87416288be98
--- a/mercurial/revsetlang.py	Thu Feb 01 14:28:45 2018 -0500
+++ b/mercurial/revsetlang.py	Thu Feb 01 14:59:38 2018 -0500
@@ -635,7 +635,7 @@
     "root(_list('a\\\\x00b\\\\x00c\\\\x00d'))"
     >>> formatspec(b'sort(%r, %ps)', b':', [b'desc', b'user'])
     "sort((:), 'desc', 'user')"
-    >>> formatspec('%ls', ['a', "'"])
+    >>> formatspec(b'%ls', [b'a', b"'"])
     "_list('a\\\\x00\\\\'')"
     '''
     expr = pycompat.bytestr(expr)