enable.sh
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 17 Feb 2012 10:35:46 +0100
changeset 134 70c9e415242b
child 143 0599fb01dc41
permissions -rwxr-xr-x
add a simple script to help people enabling the extension.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
134
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     1
#!/bin/sh
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     3
here=`readlink -f "$0"`
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     4
repo_root=`dirname "$here"`
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     5
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     6
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" >&2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     7
echo "XXX Add the line below to the [extensions] section of you hgrc XXX" >&2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     8
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" >&2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
     9
echo >&2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    10
echo >&2
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    11
echo "[extensions]"
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    12
echo "### experimental extensions for history rewriting"
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    13
echo
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    14
echo "# obsolete relation support (will move in core)"
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    15
echo "obsolete=${repo_root}/hgext/obsolete.py"
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    16
echo
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    17
echo "# history rewriting UI"
70c9e415242b add a simple script to help people enabling the extension.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
    18
echo "evolve=${repo_root}/hgext/evolve.py"