Submitter | Christophe de Vienne |
---|---|
Date | Aug. 31, 2017, 8:31 a.m. |
Message ID | <52a45e1a-5508-eeb1-f979-1cfeaa099f22@cdevienne.info> |
Download | mbox | patch |
Permalink | /patch/23532/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff -r b1f75d8e887a mercurial/fancyopts.py --- a/mercurial/fancyopts.py Tue Aug 22 16:59:02 2017 -0400 +++ b/mercurial/fancyopts.py Thu Aug 31 10:24:07 2017 +0200 @@ -148,7 +148,7 @@ except ValueError: raise error.Abort(_('invalid value %r for option %s, ' 'expected int') % (val, opt)) - elif t is type(''): + elif t is type('') or t is type(u''): state[name] = val elif t is type([]): state[name].append(val)