D6202: setup: use raw string for regular expression
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Apr 5 07:57:25 EDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfecbd93a5f08: setup: use raw string for regular expression (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6202?vs=14661&id=14667
REVISION DETAIL
https://phab.mercurial-scm.org/D6202
AFFECTED FILES
setup.py
CHANGE DETAILS
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -796,7 +796,7 @@
# This logic is duplicated in doc/Makefile.
sources = {f for f in os.listdir('mercurial/help')
- if re.search('[0-9]\.txt$', f)}
+ if re.search(r'[0-9]\.txt$', f)}
# common.txt is a one-off.
gentxt('common')
To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list