Source

distributed_hg_burner / burn_via_shell.txt

Full commit
-> see http://paste.lisp.org/display/79463#2
uses windows powershell

while ($True) {
  hg pull -u
  hg merge -f
  hg resolve -m
  hg ci -m "scripted merge"
  hg push
  $writtenhex = cat servername.txt
  $id = hg log -l 1 --template "{node}"
  if( $writtenhex -eq $id) {$id = "null"}
  $id | out-file servername.txt -encoding ASCII
  hg ci -m "servername commit"
  sleep -seconds 1
}

hgrc:
[paths]
default = http://edrikor.dyndns.org:6666

[ui]
username = Bill Barry <after.fallout@gmail.com>
merge = internal:local