D5973: tests: use raw string in test-impexp-branch.t
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Feb 15 22:34:16 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7396508ad92b: tests: use raw string in test-impexp-branch.t (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5973?vs=14111&id=14116
REVISION DETAIL
https://phab.mercurial-scm.org/D5973
AFFECTED FILES
tests/test-impexp-branch.t
CHANGE DETAILS
diff --git a/tests/test-impexp-branch.t b/tests/test-impexp-branch.t
--- a/tests/test-impexp-branch.t
+++ b/tests/test-impexp-branch.t
@@ -6,7 +6,7 @@
> import re
> import sys
>
- > head_re = re.compile('^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$')
+ > head_re = re.compile(r'^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$')
>
> for line in sys.stdin:
> hmatch = head_re.match(line)
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list