Stripping of query string (since 88b4755fa48f) stripped too much (issue327)
rstrip(qs) not only strips qs from the right, but it continues stripping
every char at the end of the URL that occurs on qs.
#!/bin/shecho 'syntax error' > badext.pyabspath=`pwd`/badext.pyecho '[extensions]' >> $HGRCPATHecho "badext = $abspath" >> $HGRCPATHhg -q help help