2
## Copyright (C) 2004 Aaron Bentley
4
## See the file "COPYING" for further information about
5
## the copyright and warranty status of this work.
7
#prevent infinite filter loops!
13
# executes the command ("$@" are the arguments after the command name)
16
if aba_supports_option file-find silent; then
19
if [ -z "$VIEWDIFF" ]; then
20
echo '$VIEWDIFF is unset' >&2
23
loc=$(tla file-find $silent $1 $2)
24
if [ -z "$loc" ]; then
25
echo "Cannot find library revision for $1"
31
# one-liner description for aba help
34
aba_desc $(basename $0) "Uses \$VIEWDIFF to compare file revisions"
37
# short help for aba command -h, --help
41
Uses \$VIEWDIFF to compare file revisions
42
usage: $abaname $(basename $0) file [revision]
44
Uses \$VIEWDIFF to compare two file revisions.
48
# extended help for aba command -H or aba help command
56
# arch-tag: vimdiff by Aaron Bentley (16:41 Apr 30 2004)