# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1237363335 -3600
# Node ID 8e53281a39e2bdffb0099724f27e951ad1b0d241
# Parent  85474a80cbc5b789ac15963df8ddf2b5124e3ef0
hglib: protect interactive from overwriting

was overwritten when stdin is not a tty
(see mercurial.ui.ui.fixconfig)

diff -r 85474a80cbc5 -r 8e53281a39e2 hggtk/hglib.py
--- a/hggtk/hglib.py    Tue Mar 17 13:28:50 2009 -0500
+++ b/hggtk/hglib.py    Wed Mar 18 09:02:15 2009 +0100
@@ -120,6 +120,7 @@
             self.outputq = outputq
             self.dialogq = dialogq
             self.responseq = responseq
+        self.setconfig('ui', 'interactive', 'True')
         self.interactive = True
 
     def write(self, *args):


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to