ref: 6a7ba3d24a20b88bc28776eb489a2dc876e5b4eb
dir: /rc/bin/sysupdate/
#!/bin/rc
rfork n
cd /
if(! test -d .hg)
bind -ac /dist/plan9front /
while(! ~ $#* 0){
switch($1){
case -i
hg incoming
case *
echo usage: sysupdate [-i] >[1=2]
exit usage
}
shift
}
hg -v pull -u