From patchwork Mon Feb 4 23:36:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D5820: graphmod: use raw string From: phabricator X-Patchwork-Id: 38399 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Mon, 4 Feb 2019 23:36:04 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGfb9e11fdcbba: graphmod: use raw string (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5820?vs=13747&id=13780 REVISION DETAIL https://phab.mercurial-scm.org/D5820 AFFECTED FILES mercurial/graphmod.py CHANGE DETAILS To: indygreg, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py --- a/mercurial/graphmod.py +++ b/mercurial/graphmod.py @@ -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: