D5690: py3: use regular expression to deal with ENOENT formatting change

2019-01-25 Thread yuja (Yuya Nishihara)
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

Re: D5690: py3: use regular expression to deal with ENOENT formatting change

2019-01-25 Thread Yuya Nishihara
>$ 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. _

D5690: py3: use regular expression to deal with ENOENT formatting change

2019-01-24 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 13433. Herald added a reviewer: pulkit. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5690?vs=13432&id=13433 REVISION DETAIL https://phab.mercurial-scm.org/D5690 AFFECTED FILES contrib/python3-whitelist tests/t

D5690: py3: use regular expression to deal with ENOENT formatting change

2019-01-24 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Yes, really. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5690 AFFECTED FILES tests/test-dispatch.t CHANGE DETAILS diff --git