fish-shell/share/functions/__fish_print_svn_rev.fish
Javier Gonel 12be83562d Non standard cut options
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
2013-12-18 18:02:19 +02:00

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