Patchwork D1181: configitems: make all regular expressions bytes and not native str

login
register
mail settings
Submitter phabricator
Date Oct. 18, 2017, 11:43 p.m.
Message ID <b5a79e18507451486fdbc3dd9296145a@localhost.localdomain>
Download mbox | patch
Permalink /patch/25228/
State Not Applicable
Headers show

Comments

phabricator - Oct. 18, 2017, 11:43 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG29ba0b37bc49: configitems: make all regular expressions bytes and not native str (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1181?vs=3008&id=3018

REVISION DETAIL
  https://phab.mercurial-scm.org/D1181

AFFECTED FILES
  mercurial/configitems.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/configitems.py b/mercurial/configitems.py
--- a/mercurial/configitems.py
+++ b/mercurial/configitems.py
@@ -587,52 +587,52 @@ 
     default=None,
     generic=True,
 )
-coreconfigitem('merge-tools', r'.*\.args$',
+coreconfigitem('merge-tools', br'.*\.args$',
     default="$local $base $other",
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.binary$',
+coreconfigitem('merge-tools', br'.*\.binary$',
     default=False,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.check$',
+coreconfigitem('merge-tools', br'.*\.check$',
     default=list,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.checkchanged$',
+coreconfigitem('merge-tools', br'.*\.checkchanged$',
     default=False,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.executable$',
+coreconfigitem('merge-tools', br'.*\.executable$',
     default=dynamicdefault,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.fixeol$',
+coreconfigitem('merge-tools', br'.*\.fixeol$',
     default=False,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.gui$',
+coreconfigitem('merge-tools', br'.*\.gui$',
     default=False,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.priority$',
+coreconfigitem('merge-tools', br'.*\.priority$',
     default=0,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.premerge$',
+coreconfigitem('merge-tools', br'.*\.premerge$',
     default=dynamicdefault,
     generic=True,
     priority=-1,
 )
-coreconfigitem('merge-tools', r'.*\.symlink$',
+coreconfigitem('merge-tools', br'.*\.symlink$',
     default=False,
     generic=True,
     priority=-1,