checkout: support git as well as hggit.
Fix dwarf-ocaml-ctypesgen and ncurses_auto test case; now builds example program from Real World OCaml.