display what to commit
This commit is contained in:
@@ -66,6 +66,9 @@ case "$CMD" in
|
|||||||
[[ -z "$@" ]] || {
|
[[ -z "$@" ]] || {
|
||||||
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