graphmod: use raw string
Needed to avoid a SyntaxWarning due to unescaped \ in Python 3.8.
Differential Revision: https://phab.mercurial-scm.org/D5820
--- a/mercurial/graphmod.py Mon Feb 04 09:00:52 2019 -0800
+++ b/mercurial/graphmod.py Mon Feb 04 09:01:49 2019 -0800
@@ -451,7 +451,7 @@
# If 'graphshorten' config, only draw shift_interline
# when there is any non vertical flow in graph.
if state['graphshorten']:
- if any(c in '\/' for c in shift_interline if c):
+ if any(c in br'\/' for c in shift_interline if c):
lines.append(shift_interline)
# Else, no 'graphshorten' config so draw shift_interline.
else: