equal
deleted
inserted
replaced
40 echo '% same thing, but run $EDITOR' |
40 echo '% same thing, but run $EDITOR' |
41 cat > $HGTMP/editor <<'__EOF__' |
41 cat > $HGTMP/editor <<'__EOF__' |
42 #!/bin/sh |
42 #!/bin/sh |
43 echo "another precious commit message" > "$1" |
43 echo "another precious commit message" > "$1" |
44 __EOF__ |
44 __EOF__ |
45 chmod +x $HGTMP/editor |
45 chmod +x "$HGTMP"/editor |
46 HGEDITOR=$HGTMP/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g' |
46 HGEDITOR="'$HGTMP'"/editor hg --config hooks.pretxncommit=false commit 2>&1 | sed 's,exited with status .*,exited ...,g' |
47 echo '.hg/last-message.txt:' |
47 echo '.hg/last-message.txt:' |
48 cat .hg/last-message.txt |
48 cat .hg/last-message.txt |