hg check lastRev is not empty, check changes id's aren't empty before adding them to sourcestamps, fix args when getting information about changes