[PATCH 2 of 6 v2] test-export: be more aggressive about quoting ^
Augie Fackler
raf at durin42.com
Tue Jul 12 15:49:49 EDT 2016
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1468352498 14400
# Tue Jul 12 15:41:38 2016 -0400
# Node ID 8b22851ac225ea493b20c76edd45da96c744f1e8
# Parent 31f958c411e7040bb71fdd52682004f518badab3
test-export: be more aggressive about quoting ^
An upcoming change to check-code will notice this isn't quoted
enough. Presumably it's been fine by luck all this time.
diff --git a/tests/test-export.t b/tests/test-export.t
--- a/tests/test-export.t
+++ b/tests/test-export.t
@@ -159,7 +159,7 @@ No filename should be printed if stdout
Checking if only alphanumeric characters are used in the file name (%m option):
$ echo "line" >> foo
- $ hg commit -m " !\"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~"
+ $ hg commit -m " !\"#$%&(,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]"'^'"_\`abcdefghijklmnopqrstuvwxyz{|}~"
$ hg export -v -o %m.patch tip
exporting patch:
____________0123456789_______ABCDEFGHIJKLMNOPQRSTUVWXYZ______abcdefghijklmnopqrstuvwxyz____.patch
More information about the Mercurial-devel
mailing list