diff common.cpp @ 74:10eb97683aa9

* Show branch names even for changes with children, if those children are on a different branch * Pick up remote repo path from local repo via hg paths * Some work towards breaking down files into various groups based on status * Add /usr/local/bin to path for hg (temporary hack I hope)
author Chris Cannam
date Fri, 19 Nov 2010 14:54:19 +0000
parents eaabc54de103
children d575a8f76a53
line wrap: on
line diff
--- a/common.cpp	Thu Nov 18 18:08:18 2010 +0000
+++ b/common.cpp	Fri Nov 19 14:54:19 2010 +0000
@@ -33,7 +33,12 @@
             QString path =
                 QProcessEnvironment::systemEnvironment().value("PATH");
             DEBUG << "findExecutable: seeking location for binary " << name
-                  << ": system path is " << path;
+                  << ": system path is " << path << endl;
+#ifndef Q_OS_WIN32
+            path = path + ":/usr/local/bin";
+            DEBUG << "... adding /usr/local/bin just in case (fix and add settings dlg please)"
+                    << endl;
+#endif
 #ifdef Q_OS_WIN32
             QChar pathSep = ';';
 #else