summaryrefslogtreecommitdiffstats
path: root/cvs_update_anonymously
blob: bbe3c7747e05ee8cb4d55d44965f5aa5319bf117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

case "$1" in
#cvs --help-commands 2>&1 | sed "s/[ 	][ 	]*/ /g" | cut -d " " -f 2
add|admin|annotate|checkout|commit|diff|edit|editors|export|history|import|\
init|log|login|logout|pserver|rdiff|release|remove|rtag|server|status|\
tag|unedit|update|watch|watchers)
  cmd="$1"; shift;;
*) cmd=update;;
esac

cvs -z3 -d :pserver:anonymous@cvs.libvncserver.sf.net:/cvsroot/libvncserver $cmd "$@"