mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
12be83562d
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
10 lines
335 B
Fish
10 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
|