File: cvsco.sh

package info (click to toggle)
cvsutils 0.0.20020311-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 248 kB
  • ctags: 34
  • sloc: perl: 686; sh: 354; makefile: 88
file content (9 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#! /bin/sh
# This script creates a fresh repository
echo "cvsco: cleaning up ..."
cvsu --ignore --find --types '^.FCRUX' --batch "rm -rf" "$@"
test $? -eq 0 || exit 1
echo "cvsco: refetching missing files ..."
cvsu --ignore --find --types 'U' --batch "cvs update" "$@"
test $? -eq 0 || exit 1
echo "cvsco: done"