##// END OF EJS Templates
util: raise ParseError when parsing dates (BC)...
util: raise ParseError when parsing dates (BC) a7dce526c462 refactored util.parsedate in order to raise ValueError instead of Abort for using with ui.configwith. It causes several problems, putting arbitrary bytes in ValueError can cause issues with Python 3. Moreover, we added a function to convert ValueError exceptions back to Abort. A better approach would be to make parsedate raises ParseError, removing the convert function and update configwith to also catch ParseError. The side-effect is that error message when giving an invalid date in CLI change from: abort: invalid date: 'foo bar' to: hg: parse error: invalid date: 'foo bar' I'm not sure if it's an acceptable change, I found personally the error message more clear but more verbose too.

File last commit:

r26421:4b0fc75f default
r32462:bb18728e default
Show More
postinstall.txt
9 lines | 248 B | text/plain | TextLexer
Bryan O'Sullivan
Add post-install text file.
r1289 Welcome to Mercurial for Windows!
---------------------------------
For configuration and usage directions, please read the ReadMe.html
file that comes with this package.
Matt Mackall
Remove hard-coded version numbers and release notes from packaging
r3863 Also check the release notes at:
Lee Cantey
Update Windows release notes and install script for v0.9
r2276
Matt Mackall
urls: bulk-change primary website URLs
r26421 https://mercurial-scm.org/wiki/WhatsNew