summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorJames Touton <bekenn@gmail.com>2024-01-26 23:41:36 +0000
committerJunio C Hamano <gitster@pobox.com>2024-01-29 09:25:16 -0800
commit90231982800152c4d66d0feb026c2ed8d28949d4 (patch)
tree84fbaa0ab525a6ec166a0baf378fe92ad61b7fc3 /git-svn.perl
parent564d0252ca632e0264ed670534a51d18a689ef5d (diff)
git-p4: use raw string literals for regular expressions
Fixes several Python diagnostics about invalid escape sequences. The diagnostics appear for me in Python 3.12, and may appear in earlier versions. The fix is to use raw string literals so that backslashes are not interpreted as introducing escape sequences. Raw string literals are already in use in this file, so adding more does not impact toolchain compatibility. Signed-off-by: James Touton <bekenn@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions