Shell scripts for support of Cabal maintenance

root / cabal-darcs-repository

1
2
3
4
5
6
7
8
9
10
11
lasttag=`darcs changes | grep tagged | head -n 1 | perl -p -e 's/ *tagged (.+)/\1/'`
repo=`cat _darcs/prefs/defaultrepo`
echo 'Source-Repository this'
echo '  Tag:         '$lasttag
echo '  Type:        darcs'
echo '  Location:    '$repo
echo
echo 'Source-Repository head'
echo '  Type:        darcs'
echo '  Location:    '$repo
echo