comparison hgrunner.cpp @ 162:910c2c5d1873

* Better handling of empty repositories; some tidying & textual fixes
author Chris Cannam
date Fri, 03 Dec 2010 14:43:32 +0000
parents 5b2046f67a56
children 0dfd6567ec0c
comparison
equal deleted inserted replaced
161:5b2046f67a56 162:910c2c5d1873
328 params.push_front("--config"); 328 params.push_front("--config");
329 interactive = true; 329 interactive = true;
330 } 330 }
331 331
332 //!!! want an option to use the mercurial_keyring extension as well 332 //!!! want an option to use the mercurial_keyring extension as well
333
334 /*
335 #ifdef Q_OS_WIN32
336 // This at least means we won't block on the non-working password prompt
337 params.push_front("--noninteractive");
338 #else
339 // password prompt should work here
340 if (action.mayBeInteractive()) {
341 params.push_front("ui.interactive=true");
342 params.push_front("--config");
343 interactive = true;
344 } else {
345 params.push_front("--noninteractive");
346 }
347 #endif
348 */
349 } 333 }
350 334
351 m_isRunning = true; 335 m_isRunning = true;
352 setRange(0, 0); 336 setRange(0, 0);
353 if (!action.shouldBeFast()) show(); 337 if (!action.shouldBeFast()) show();