# HG changeset patch
# User Artem Tikhomirov <tikhomirov.artem@gmail.com>
# Date 1296515971 -3600
# Node ID 32e794c599d793a3c18ef9b86d69fc9303f11f5b
# Parent  0170f95ca91576c1bf7f9ab1f80dde30ba879b45
Reminder comment why exe check goes first

diff -r 0170f95ca915 -r 32e794c599d7 test/org/tmatesoft/hg/test/ExecHelper.java
--- a/test/org/tmatesoft/hg/test/ExecHelper.java	Mon Jan 31 19:42:19 2011 +0100
+++ b/test/org/tmatesoft/hg/test/ExecHelper.java	Tue Feb 01 00:19:31 2011 +0100
@@ -49,6 +49,7 @@
 				if (new File(pe, cmd[0] + ".exe").exists()) {
 					break;
 				}
+				// PATHEXT controls precedence of .exe, .bat and .cmd files, ususlly .exe wins
 				if (new File(pe, cmd[0] + ".bat").exists() || new File(pe, cmd[0] + ".cmd").exists()) {
 					ArrayList<String> command = new ArrayList<String>();
 					command.add("cmd.exe");