/usr/bin/cvsdiscard is in cvsutils 0.2.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /bin/bash
# This script is part of CVS Utilities, version 0.2.5.
# This script discards all local changes and reloads missing files.
set -e
echo "cvsdiscard: cleaning up ..."
cvsu --ignore --find --types 'GMO' --batch "rm -rf" "$@"
echo "cvsdiscard: refetching missing files ..."
cvsu --ignore --find --types 'U' --batch "cvs update" "$@"
echo "cvsdiscard: done"
|