diff --git a/mercurial/fancyopts.py b/mercurial/fancyopts.py