compat: Handle case where opts are None for <= 6.5
fix for https://bz.mercurial-scm.org/show_bug.cgi?id=6865
encountered when doing a backout on a changeset in a topic mercurial version 6.5.1
This instance was upgraded to Heptapod 17.6.0rc1 today
fix for https://bz.mercurial-scm.org/show_bug.cgi?id=6865
encountered when doing a backout on a changeset in a topic mercurial version 6.5.1