author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Wed, 27 Jun 2012 15:28:35 +0200 | |
branch | stable |
changeset 330 | c2223b3f611a |
parent 190 | f111e19b763f |
permissions | -rwxr-xr-x |
159
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
1 |
#!/bin/sh |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
2 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
3 |
here=`readlink -f "$0"` |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
4 |
repo_root=`dirname "$here"` |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
5 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
6 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
7 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
8 |
cat << EOF >&2 |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
9 |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
10 |
XXX Add lines below to the [extensions] section of you hgrc XXX |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
11 |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
12 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
13 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
14 |
EOF |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
15 |
|
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
16 |
cat << EOF | sed -e "s#XXXREPOPATHXXX#${repo_root}#" |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
17 |
[extensions] |
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
18 |
# experimental extensions for mq export |
190
f111e19b763f
fix qsync-enable.sh
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
159
diff
changeset
|
19 |
qsync=XXXREPOPATHXXX/hgext/qsync.py |
159
6ff373346dd4
really add qsync enable
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff
changeset
|
20 |
EOF |