##// END OF EJS Templates
re2: feed unicode string to re2 module when necessary...
re2: feed unicode string to re2 module when necessary My previous test were using the `pyre2` Python project, that wrap the Google RE2 library in python as a `re2` module and accept bytes as input. However the `fb-re2` Python project is also offering a wrapping of the Google RE2 library in python as a `re2` module ans accept only unicode on python3. So we detect this situation and convert thing to unicode when necessary. Hooray… We should consider using a rust wrapping for regexp handling. We needs regexps in Rust anyway and this give use more control with less variants and more sanity. Differential Revision: https://phab.mercurial-scm.org/D10284

File last commit:

r47575:d4ba4d51 default
r47597:3ff35382 default
Show More
hgrc.5.txt
41 lines | 795 B | text/plain | TextLexer
Matt Harbison
help: create packages for the help text...
r44031 ======
hgrc
======
---------------------------------
configuration files for Mercurial
---------------------------------
:Author: Bryan O'Sullivan <bos@serpentine.com>
:Organization: Mercurial
:Manual section: 5
:Manual group: Mercurial Manual
.. contents::
:backlinks: top
:class: htmlonly
Description
===========
.. include:: hgrc.5.gendoc.txt
Author
======
Bryan O'Sullivan <bos@serpentine.com>.
Raphaël Gomès
contributor: change mentions of mpm to olivia...
r47575 Mercurial was written by Olivia Mackall <olivia@selenic.com>.
Matt Harbison
help: create packages for the help text...
r44031
See Also
========
|hg(1)|_, |hgignore(5)|_
Copying
=======
This manual page is copyright 2005 Bryan O'Sullivan.
Raphaël Gomès
contributor: change mentions of mpm to olivia...
r47575 Mercurial is copyright 2005-2021 Olivia Mackall.
Matt Harbison
help: create packages for the help text...
r44031 Free use of this software is granted under the terms of the GNU General
Public License version 2 or any later version.
.. include:: common.txt