Mercurial > evolve
view enable.sh @ 143:0599fb01dc41
add an obsolete parent revset and related alias
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Thu, 08 Mar 2012 13:56:27 +0100 |
parents | 70c9e415242b |
children | d3c3211fcfc4 |
line wrap: on
line source
#!/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 ."