display what to commit

This commit is contained in:
Ville Rantanen
2015-07-24 16:29:18 +03:00
parent df4bf2958a
commit b18d716455

View File

@@ -66,6 +66,9 @@ case "$CMD" in
[[ -z "$@" ]] || {
echo Commiting files:
find "$@" \( -type d -name .hg -prune \) -o -type f -print
}
[[ -z "$@" ]] && {
hg status -mard
}
read -e -p "Commit message: " MSG
hg commit -m "$MSG" "$@"