qsync-enable.sh
author Patrick Mezard <patrick@mezard.eu>
Thu, 21 Jun 2012 18:00:32 +0200
changeset 296 c3ff47e6bd36
parent 190 f111e19b763f
permissions -rwxr-xr-x
test-evolve: extend output and exhibit an amend bug The extended section shows the parent revision stabilizing itself on another revision, without --any. In theory, only descendants of the parent predecessors or of its descendants should be stabilized, and be stabilized in parent subtree. Unfortunately, stabilize implementation correctly picks the changesets to stabilize but not their target. This problem is aggravated by amend registering too many obsolete markers which prevents the stabilize selection heuristic to prune several changesets.

#!/bin/sh

here=`readlink -f "$0"`
repo_root=`dirname "$here"`



cat << EOF >&2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX Add lines below to the [extensions] section of you hgrc XXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


EOF

cat << EOF | sed -e "s#XXXREPOPATHXXX#${repo_root}#"
[extensions]
# experimental extensions for mq export
qsync=XXXREPOPATHXXX/hgext/qsync.py
EOF