identify hg commit ID using current state, not tip