D5690: py3: use regular expression to deal with ENOENT formatting change
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Jan 25 05:15:13 EST 2019
yuja added a comment.
> $ hg log -b --cwd=inexistent default
>
> - abort: $ENOENT$: 'inexistent' + abort: \$ENOENT\$: ('inexistent'|inexistent) (re)
That's our fault. The exception is caught as IOError on Python 3, and our
formatting of IOError and OSError are slightly different!
Maybe we should unify them.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5690
To: durin42, #hg-reviewers, pulkit
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list