# HG changeset patch # User Matt Harbison <matt_harbi...@yahoo.com> # Date 1492390754 14400 # Sun Apr 16 20:59:14 2017 -0400 # Node ID 85faa957af5a8aad904fdadaf38e1b0de366ed2c # Parent 25146c0366d4f497be856a35c078ede207bbee87 test-tag: make hook runnable on Windows
Simply setting the hook to *.sh causes Windows to open a dialog asking how to open *.sh files. diff --git a/tests/test-tag.t b/tests/test-tag.t --- a/tests/test-tag.t +++ b/tests/test-tag.t @@ -2,7 +2,7 @@ > [experimental] > hook-track-tags=1 > [hooks] - > txnclose.track-tag=${TESTTMP}/taghook.sh + > txnclose.track-tag=sh ${TESTTMP}/taghook.sh > EOF $ cat << EOF > taghook.sh @@ -14,7 +14,6 @@ > sed 's/^/hook: /' .hg/changes/tags.changes > fi > EOF - $ chmod +x taghook.sh $ hg init test $ cd test _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel