Only work with HEAD revisions