The regular hg log command gives output with at least 4 lines per changeset. For example
hg log
changeset: 238:03a214f2a1cf user: My Name
hg log --style compact
You can also use templates to display log out in different formats
hg help templates
In your case if you want to display only node ids do something like this
hg log --template "{node}\n"