Unfortunately, there is a bug in rhg files that went unnoticed until now, where it expects the long flag --revision instead of --rev. Since Poulpe cares about maximizing compatibility, we use the short flag.
rhg files
--revision
--rev