A patch for a bug on date formats with '>' or '<' accompanied by space characters

Matt Mackall mpm at selenic.com
Tue Mar 31 15:27:17 CDT 2009


On Mon, 2009-03-30 at 19:55 +0800, Justin Peng wrote:
> Hi, all.  I have written  a patch for a bug on date formats with '>'
> or '<' accompanied by space characters.
> 
> In the current version, hg log -d '>',  hg log -d '<', hg log -d '>_',
> hg log -d '<_', hg log -d '_>' and hg log -d '_>' get different
> results, and what's worse, hg log -d '>_' and hg log -d '<_'  even
> raise an exception. I have corrected it, and provided some test
> scripts for it. 
> 
> Please check it, thanks!
> 
> Regards
> 
> Justin
> 
> Besides the attachment, the content of the patch file is below:

Looks good. Please fold your test into the existing test-parse-dates.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list