From b18d716455ebe626926c52aff7f7407e6d75db92 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Fri, 24 Jul 2015 16:29:18 +0300 Subject: [PATCH] display what to commit --- bin/hgmenu | 3 +++ 1 file changed, 3 insertions(+) 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" "$@"