fish-shell/share/functions/__fish_print_svn_rev.fish

11 lines
350 B
Fish
Raw Normal View History

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