Fixed but in getting parents in mercurial.