changeset 134:70c9e415242b

add a simple script to help people enabling the extension.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 17 Feb 2012 10:35:46 +0100
parents aa182b912d62
children 1a08daef8a53
files enable.sh
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/enable.sh	Fri Feb 17 10:35:46 2012 +0100
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+here=`readlink -f "$0"`
+repo_root=`dirname "$here"`
+
+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"