restructured updatebase, several bug fixes (fixed hooks, fixed handling the absence of HEAD)
restructured updatebase, several bug fixes (fixed hooks, fixed handling the absence of HEAD)

mweststrate/mxgit