[PATCH 8 of 9] py3: use r'' to prevent conversion to bytes by transformer

Pulkit Goyal 7895pulkit at gmail.com
Fri Jun 23 15:55:02 EDT 2017


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1498082052 -19800
#      Thu Jun 22 03:24:12 2017 +0530
# Node ID aa28c0ebd878a5c3598700efe662d2dfba9b4f60
# Parent  1f6a8f5e7fc77538330217e1e0c361ef3d9014cb
py3: use r'' to prevent conversion to bytes by transformer

diff --git a/hgext/share.py b/hgext/share.py
--- a/hgext/share.py
+++ b/hgext/share.py
@@ -132,7 +132,7 @@
     if pool:
         pool = util.expandpath(pool)
 
-    opts['shareopts'] = dict(
+    opts[r'shareopts'] = dict(
         pool=pool,
         mode=ui.config('share', 'poolnaming', 'identity'),
     )


More information about the Mercurial-devel mailing list