qsync-enable.sh
author Patrick Mezard <patrick@mezard.eu>
Tue, 19 Jun 2012 18:05:23 +0200
changeset 282 05ab164c6593
parent 190 f111e19b763f
permissions -rwxr-xr-x
obsolete: handle rebase --collapse Recording obsolete in concludenode() did not work for --collapse because only the first revision was passed to the call. The new strategy is to track the rebase state in defineparents() and concludenode() and to create markers only after a successful non-abort call. In theory, this should also fix --continue/--abort cases. The change in test-stabilize-order.t comes from concludenode() no longer creating obsolete marker. stabilize command was actually duplicating markers, once in concludenode(), once explicitely.

#!/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