def _internalize(self, id):
    ix = self._revlog.rev(id)
    if (ix == nullrev):
        raise LookupError(id, self._revlog.indexfile, _('nullid'))
    return ix
def _internalize(self, id):
    ix = self._revlog.rev(id)
    if (ix == nullrev):
        raise LookupError(id, self._revlog.indexfile, _('nullid'))
    return ix