[issue447] fancyopts: empty string and option not given is the same. Breaks hg ci -d ""

Thomas Arendsen Hein mercurial-bugs at selenic.com
Mon Dec 11 16:32:25 UTC 2006


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

Because fancyopts passes an empty string if e.g. the --date option is not given
to hg commit, you can't change the code to accept -d "" as the epoch.

fancyopts should give None, but the code has to be audited for code assuming the
empty string.

----------
messages: 2511
nosy: ThomasAH
priority: bug
status: unread
title: fancyopts: empty string and option not given is the same. Breaks hg ci -d ""

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue447>
____________________________________________________




More information about the Mercurial-devel mailing list