obsolete: do no complain when push create a new head but obsolete an old one.
Do not read the code or your eyes will burn.
The (+1 heads) message still appear (see mercurial issue 3394).
#!/bin/sh
here=`readlink -f "$0"`
repo_root=`dirname "$here"`
cat << EOF >&2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX Add lines below to the [extensions] section of you hgrc XXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EOF
cat << EOF | sed -e "s#XXXREPOPATHXXX#${repo_root}#"
[extensions]
# experimental extensions for mq export
qsync=XXXREPOPATHXXX/hgext/qsync.py
EOF