tests/test-tag.t
changeset 12642 bb35840e965c
parent 12399 4fee1fd3de9a
child 13133 c1492615cdee
equal deleted inserted replaced
12641:da6693cce635 12642:bb35840e965c
   184   $ hg tag tag-and-branch-same-name
   184   $ hg tag tag-and-branch-same-name
   185   warning: tag tag-and-branch-same-name conflicts with existing branch name
   185   warning: tag tag-and-branch-same-name conflicts with existing branch name
   186 
   186 
   187 test custom commit messages
   187 test custom commit messages
   188 
   188 
   189   $ cat > $HGTMP/editor <<'__EOF__'
   189   $ cat > editor << '__EOF__'
   190   > #!/bin/sh
   190   > #!/bin/sh
   191   > echo "custom tag message" > "$1"
   191   > echo "custom tag message" > "$1"
   192   > echo "second line" >> "$1"
   192   > echo "second line" >> "$1"
   193   > __EOF__
   193   > __EOF__
   194   $ chmod +x "$HGTMP"/editor
   194   $ chmod +x editor
   195   $ HGEDITOR="'$HGTMP'"/editor hg tag custom-tag -e
   195   $ HGEDITOR="'`pwd`'"/editor hg tag custom-tag -e
   196   $ hg log -l1 --template "{desc}\n"
   196   $ hg log -l1 --template "{desc}\n"
   197   custom tag message
   197   custom tag message
   198   second line
   198   second line