D5827: drawdag: use raw strings for docstrings
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Feb 4 18:36:58 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8d4ee2d9ffb8: drawdag: use raw strings for docstrings (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5827?vs=13754&id=13786
REVISION DETAIL
https://phab.mercurial-scm.org/D5827
AFFECTED FILES
tests/drawdag.py
CHANGE DETAILS
diff --git a/tests/drawdag.py b/tests/drawdag.py
--- a/tests/drawdag.py
+++ b/tests/drawdag.py
@@ -322,7 +322,7 @@
v.remove(leaf)
def _getcomments(text):
- """
+ r"""
>>> [pycompat.sysstr(s) for s in _getcomments(br'''
... G
... |
@@ -341,7 +341,7 @@
@command(b'debugdrawdag', [])
def debugdrawdag(ui, repo, **opts):
- """read an ASCII graph from stdin and create changesets
+ r"""read an ASCII graph from stdin and create changesets
The ASCII graph is like what :hg:`log -G` outputs, with each `o` replaced
to the name of the node. The command will create dummy changesets and local
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list