dispatch: show empty filename in OSError aborts
Mercurial would sometimes exit with: abort: No such file or directory where str of the actual OSError exception was the more helpful: [Errno 2] No such file or directory: '' The exception will now always show the filename and quote it: abort: No such file or directory: ''
Showing
- mercurial/dispatch.py 2 additions, 2 deletionsmercurial/dispatch.py
- tests/test-audit-path.t 1 addition, 1 deletiontests/test-audit-path.t
- tests/test-clone.t 1 addition, 1 deletiontests/test-clone.t
- tests/test-convert.t 1 addition, 1 deletiontests/test-convert.t
- tests/test-dispatch.t 6 additions, 0 deletionstests/test-dispatch.t
Loading
Please register or sign in to comment