display what to commit
This commit is contained in:
@@ -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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user