display what to commit
This commit is contained in:
@@ -67,6 +67,9 @@ case "$CMD" in
|
|||||||
echo Commiting files:
|
echo Commiting files:
|
||||||
find "$@" \( -type d -name .hg -prune \) -o -type f -print
|
find "$@" \( -type d -name .hg -prune \) -o -type f -print
|
||||||
}
|
}
|
||||||
|
[[ -z "$@" ]] && {
|
||||||
|
hg status -mard
|
||||||
|
}
|
||||||
read -e -p "Commit message: " MSG
|
read -e -p "Commit message: " MSG
|
||||||
hg commit -m "$MSG" "$@"
|
hg commit -m "$MSG" "$@"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user