Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

serve: add isatty() method

Newer hgext/pager.py calls this method of stdout. We need to implement
this function and return False else the pager extension breaks our web
server dialog.

Changeset 206774b9bf54

Parent 6a8f95f4f30d

by Steve Borho

Changes to one file · Browse files at 206774b9bf54 Showing diff from parent 6a8f95f4f30d Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​serve.py Stacked
 
108
109
110
 
 
 
 
111
112
113
 
108
109
110
111
112
113
114
115
116
117
@@ -108,6 +108,10 @@
  vbox.pack_start(scrolledwindow, True, True)   self._set_button_states()   + def isatty(self): + 'hgext/pager.py calls this method of stdout' + return False +   def _get_config(self):   try:   repo = hg.repository(ui.ui(), path=self._root)