9mail #1

  • //
  • guest/
  • Doug_Napoleone/
  • mercurial/
  • contrib/
  • plan9/
  • 9mail
  • View
  • Commits
  • Open Download .zip Download (277 B)
#!/bin/rc
# 9mail - Mercurial email wrapper for upas/marshal

fn usage {
	echo >[1=2] usage: mercurial/9mail -f from to [cc]
	exit usage
}

from=()
cc=()
to=()

switch($1){
case -f
	from=$2
case *
	usage
}

to=($3)
if(~ $#* 4)
	cc=(-C $4)

upasname=$from
upas/marshal $cc $to

# Change User Description Committed
#1 15913 Doug_Napoleone Initial checkin of the latest stabel mercurial to then integrate the changes from //guest/sven_erik_knop/mercurial on top of (preserving the new HG code).
The purpose is to get it working with the latest version of HG.