tests/test-commit-amend.t
branchstable
changeset 17462 8085fed2bf0a
parent 17461 bacde764fba0
child 17473 9732473aa24b
equal deleted inserted replaced
17461:bacde764fba0 17462:8085fed2bf0a
    23   nothing changed
    23   nothing changed
    24   [1]
    24   [1]
    25 
    25 
    26   $ cat >> $HGRCPATH <<EOF
    26   $ cat >> $HGRCPATH <<EOF
    27   > [hooks]
    27   > [hooks]
    28   > pretxncommit.foo = sh -c "echo \"pretxncommit \$HG_NODE\"; hg id -r \$HG_NODE"
    28   > pretxncommit.foo = sh -c "echo \\"pretxncommit \$HG_NODE\\"; hg id -r \$HG_NODE"
    29   > EOF
    29   > EOF
    30 
    30 
    31 Amending changeset with changes in working dir:
    31 Amending changeset with changes in working dir:
    32 
    32 
    33   $ echo a >> a
    33   $ echo a >> a