Mercurial > hg
view tests/test-hgrc.out @ 7732:3793802ea41b
Make util.find_exe alway returns existing file, fixing issue1459
It seems like the old behaviour with different handling for commands with and
without path was intended, but I think this behaviour of util.find_exe is
better:
* Always returns existing file
* or None if command not found - no default
* Windows: Returned file thus always ends with extension from PATHEXT
This fixes http://www.selenic.com/mercurial/bts/issue1459. The change might
fix other unintended behaviour too.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 25 Jan 2009 21:20:13 +0100 |
parents | e51c0f41f271 |
children | fca54469480e |
line wrap: on
line source
abort: Failed to parse .../t/.hg/hgrc File contains no section headers. file: .../t/.hg/hgrc, line: 1 'invalid\n' updating working directory 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [paths] default = .../foo%%bar default = .../foo%bar bundle.mainreporoot=.../foobar defaults.backout=-d "0 0" defaults.commit=-d "0 0" defaults.debugrawcommit=-d "0 0" defaults.tag=-d "0 0" paths.default=.../foo%bar ui.slash=True