view tests/narrow-library.sh @ 43019:2cc453284d5c

patchbomb: protect email addresses from shell When patchbomb sends email via a sendmail-like program it invokes this using procutil.popen which passes the string to a shell to be parsed. To protect any special characters in the email addresses on the command line from being interpretered by the shell they must be quoted.
author Floris Bruynooghe <flub@google.com>
date Mon, 30 Sep 2019 00:01:58 +0200
parents bcf70058af90
children d72378f93a44
line wrap: on
line source

cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[ui]
ssh=python "$RUNTESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF