mercurial/stack.py
changeset 43077 687b865b95ad
parent 43075 57875cf423c9
child 46819 d4ba4d51f85f
--- a/mercurial/stack.py	Sun Oct 06 09:45:02 2019 -0400
+++ b/mercurial/stack.py	Sun Oct 06 09:48:39 2019 -0400
@@ -16,9 +16,9 @@
     the revision and are not merges.
     """
     if rev is None:
-        rev = '.'
+        rev = b'.'
 
-    revspec = 'only(%s) and not public() and not ::merge()'
+    revspec = b'only(%s) and not public() and not ::merge()'
     revisions = repo.revs(revspec, rev)
     revisions.sort()
     return revisions