kill: properly get revision pointed by --new
Previously the raw value on --new ended in the obsolete file.
#!/bin/sh
here=`readlink -f "$0"`
repo_root=`dirname "$here"`
# I gotta change this for cat soon
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" >&2
echo "XXX Add the line below to the [extensions] section of you hgrc XXX" >&2
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" >&2
echo >&2
echo >&2
echo "[extensions]"
echo "### experimental extensions for history rewriting"
echo
echo "# obsolete relation support (will move in core)"
echo "obsolete=${repo_root}/hgext/obsolete.py"
echo
echo "# history rewriting UI"
echo "evolve=${repo_root}/hgext/evolve.py"
echo
echo
echo '[alias]'
echo "### useful alias to check future amend result"
echo "# equivalent to the qdiff command for mq"
echo
echo "# diff"
echo 'pdiff=diff --rev .^'
echo
echo "# status"
echo 'pstatus=status --rev .^'
echo
echo "# diff with the previous amend"
echo "odiff=diff --rev 'limit(obsparents(.),1)' --rev ."