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

login
register
mail settings
Submitter Pulkit Goyal
Date June 23, 2017, 7:55 p.m.
Message ID <aa28c0ebd878a5c35987.1498247702@workspace>
Download mbox | patch
Permalink /patch/21651/
State Accepted
Headers show

Comments

Pulkit Goyal - June 23, 2017, 7:55 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@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

Patch

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'),
     )