mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Output current rev in informational message.
This commit is contained in:
parent
944384ed55
commit
1c938f3e39
1 changed files with 2 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ function svnsafeup() {
|
|||
} | view -c 'set foldnestmax=2 foldlevel=0 shiftwidth=2 foldmethod=indent' -
|
||||
read "answer?continue to 'svn up'? (ctrl-c to abort, y to continue) " || return 1
|
||||
[[ $answer == "y" ]] || return 1
|
||||
echo "Updating from $from to $to.."
|
||||
currev="$(svn info | grep '^Revision:' | cut -f2 -d\ )"
|
||||
echo "Updating from revision $currev to $to.."
|
||||
svn up -r $to
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue