Mercurial > hg
view tests/test-mq-qdelete.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 | fb32ae9c76e7 |
children | 140429276b63 |
line wrap: on
line source
adding base abort: qdelete requires at least one revision or patch name abort: cannot delete applied patch c now at: b a b a b series status now at: a a b series status 1 [mq]: a 0 base abort: cannot delete revision 3 above applied patches f 4 [mq]: f 3 [mq]: e 2 [mq]: d 1 [mq]: a 0 base adding base abort: no revisions specified no patches applied abort: revision 0 is not managed abort: cannot delete revision 2 above applied patches now at: b abort: unknown revision 'c'! applying c now at: c c 3 imported patch c 2 [mq]: b 1 [mq]: a 0 base 3 imported patch c 2 [mq]: b 1 [mq]: a 0 base series status