Use reverse(x::y) instead of y::x in Mercurial history queries

The revset "x:0" works, but the revset "x::0" is empty. We actually want "reverse(0::x)".

Auditors: DurhamGoode