mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
12be83562d
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
11 lines
335 B
Fish
11 lines
335 B
Fish
function __fish_print_svn_rev --description 'Print svn revisions'
|
|
svn info | grep "Last Changed Rev" | cut -d " " -f 4
|
|
echo \{\tRevision at start of the date
|
|
echo HEAD\tLatest in repository
|
|
echo BASE\tBase rev of item\'s working copy
|
|
echo COMMITTED\tLatest commit at or befor base
|
|
echo PREV\tRevision just before COMMITTED
|
|
|
|
|
|
end
|