comparison 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
comparison
equal deleted inserted replaced
73:a773c6e7b301 74:10eb97683aa9
31 if (name[0] != '/') { 31 if (name[0] != '/') {
32 name = QFileInfo(name).fileName(); 32 name = QFileInfo(name).fileName();
33 QString path = 33 QString path =
34 QProcessEnvironment::systemEnvironment().value("PATH"); 34 QProcessEnvironment::systemEnvironment().value("PATH");
35 DEBUG << "findExecutable: seeking location for binary " << name 35 DEBUG << "findExecutable: seeking location for binary " << name
36 << ": system path is " << path; 36 << ": system path is " << path << endl;
37 #ifndef Q_OS_WIN32
38 path = path + ":/usr/local/bin";
39 DEBUG << "... adding /usr/local/bin just in case (fix and add settings dlg please)"
40 << endl;
41 #endif
37 #ifdef Q_OS_WIN32 42 #ifdef Q_OS_WIN32
38 QChar pathSep = ';'; 43 QChar pathSep = ';';
39 #else 44 #else
40 QChar pathSep = ':'; 45 QChar pathSep = ':';
41 #endif 46 #endif