##// END OF EJS Templates
py3: fix bad escapes of sub() replacement pattern in test-template-basic.t...
Yuya Nishihara -
r40978:e48fdeb0 default
parent child Browse files
Show More
@@ -860,7 +860,7 b' Test string escaping in nested expressio'
860 860 $ hg log -R a -r 8 --template '{join(files, ifeq(branch, "default", r"\x5c\x786e"))}\n'
861 861 fourth\x5c\x786esecond\x5c\x786ethird
862 862
863 $ hg log -R a -r 3:4 --template '{rev}:{sub(if("1", "\x6e"), ifeq(branch, "foo", r"\x5c\x786e", "\x5c\x786e"), desc)}\n'
863 $ hg log -R a -r 3:4 --template '{rev}:{sub(if("1", "\x6e"), ifeq(branch, "foo", r"\\x5c\\x786e", "\x5c\x5c\x786e"), desc)}\n'
864 864 3:\x6eo user, \x6eo domai\x6e
865 865 4:\x5c\x786eew bra\x5c\x786ech
866 866
General Comments 0
You need to be logged in to leave comments. Login now