acme/bin/hg+

11 lines
139 B
Text
Raw Normal View History

2017-08-16 18:46:25 +03:00
#!/usr/bin/env bash
2017-01-26 19:29:57 +03:00
2017-08-16 18:46:25 +03:00
if [ $# -eq 0 ]; then
echo 'Where is my commit message, huh?'
exit 1
fi
2017-01-26 19:29:57 +03:00
2017-08-16 18:46:25 +03:00
hg addremove
hg commit -m ''"$*"''
hg push