init (moved from .hg)