diff --git a/bin/hgmenu b/bin/hgmenu index 72a5567..76e8193 100755 --- a/bin/hgmenu +++ b/bin/hgmenu @@ -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" "$@"