A fix to the patch: passing the correct configuration key as an argument. The old version did nothing... but fortunately it was setting the configuration key to its default value, so it happened to work. I've tested now that it works even when commands.status.relative=0 is set by the user's hgrc.