mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
11 lines
350 B
Fish
11 lines
350 B
Fish
|
function __fish_print_svn_rev --description 'Print svn revisions'
|
||
|
svn info | grep "Last Changed Rev" | cut --delimiter " " --fields 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
|